packages feed

asn1-data 0.1 → 0.1.1

raw patch · 3 files changed

+9/−9 lines, 3 files

Files

Data/ASN1/Prim.hs view
@@ -9,10 +9,10 @@ --  module Data.ASN1.Prim (-	-- | ASN1 high level algebraic type+	-- * ASN1 high level algebraic type 	ASN1(..), -	-- | marshall an ASN1 type from a val struct or a bytestring+	-- * marshall an ASN1 type from a val struct or a bytestring 	getEOC, 	getBoolean, 	getInteger,@@ -29,7 +29,7 @@ 	getUTCTime, 	getGeneralizedTime, -	-- | marshall an ASN1 type to a bytestring+	-- * marshall an ASN1 type to a bytestring 	putUTCTime, 	putGeneralizedTime, 	putInteger,
Data/ASN1/Raw.hs view
@@ -43,9 +43,9 @@ 	deriving (Show, Eq)  data ValLength =-	  LenShort Int      -- | Short form with only one byte. length has to be < 127.-	| LenLong Int Int   -- | Long form of N bytes-	| LenIndefinite     -- | Length is indefinite expect an EOC in the stream to finish the type+	  LenShort Int      -- ^ Short form with only one byte. length has to be < 127.+	| LenLong Int Int   -- ^ Long form of N bytes+	| LenIndefinite     -- ^ Length is indefinite expect an EOC in the stream to finish the type 	deriving (Show, Eq)  type TagNumber = Int@@ -53,8 +53,8 @@ type Identifier = (TagClass, TagConstructed, TagNumber)  data ValStruct =-	  Primitive ByteString -- | Primitive of a strict value-	| Constructed [Value]  -- | Constructed of a list of values+	  Primitive ByteString -- ^ Primitive of a strict value+	| Constructed [Value]  -- ^ Constructed of a list of values 	deriving (Show, Eq)  data Value = Value TagClass TagNumber ValStruct
asn1-data.cabal view
@@ -1,5 +1,5 @@ Name:                asn1-data-Version:             0.1+Version:             0.1.1 Description:     ASN1 data reader/writer in raw form with supports for high level forms of ASN1 (BER/CER/DER) License:             BSD3