Data.ASN1.Types

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

Safe Haskell | None

Data.ASN1.Types

# Documentation

data ASN1t

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 |
Sequence [ASN1t] |
Set [ASN1t] |
Container ASN1Class ASN1Tag [ASN1t] |

Instances

Eq ASN1t |
Show ASN1t |

ofStream :: [ASN1] -> [ASN1t]

toStream :: [ASN1t] -> [ASN1]