Data.ASN1.Stream

asn1-data-0.6.1.2: ASN1 data reader and writer in RAW, BER, DER and CER forms

Safe Haskell | None

Data.ASN1.Stream

# Documentation

data ASN1

Constructors

Boolean Bool |
IntVal Integer |
BitString BitArray |
OctetString ByteString |
Null |
OID [Integer] |
Real Double |
Enumerated |
UTF8String String |
NumericString ByteString |
PrintableString String |
T61String String |
VideoTexString ByteString |
IA5String String |
UTCTime (Int, Int, Int, Int, Int, Int, Bool) |
GeneralizedTime (Int, Int, Int, Int, Int, Int, Bool) |
GraphicString ByteString |
VisibleString ByteString |
GeneralString ByteString |
UniversalString String |
CharacterString ByteString |
BMPString String |
Other ASN1Class ASN1Tag ByteString |
Start ASN1ConstructionType |
End ASN1ConstructionType |

Instances

Eq ASN1 |
Show ASN1 |

type ASN1Repr = (ASN1, [ASN1Event])

data ASN1ConstructionType

Constructors

Sequence |
Set |
Container ASN1Class ASN1Tag |

Instances

Eq ASN1ConstructionType |
Show ASN1ConstructionType |

getConstructedEnd :: Int -> [ASN1] -> ([ASN1], [ASN1])

getConstructedEndRepr :: [ASN1Repr] -> ([ASN1Repr], [ASN1Repr])