 | asn1-data-0.2.2: ASN1 data reader and writer in RAW, BER, DER and CER forms | Contents | Index |
|
Data.ASN1.CER | Portability | unknown | Stability | experimental | Maintainer | Vincent Hanquez <vincent@snarc.org> |
|
|
|
|
|
Description |
A module containing ASN1 CER specification serialization/derialization tools
|
|
Synopsis |
|
| | data ASN1 | = EOC | | Boolean Bool | | IntVal Integer | | BitString Int ByteString | | OctetString ByteString | | Null | | OID [Integer] | | Real Double | | Enumerated | | UTF8String ByteString | | Sequence [ASN1] | | Set [ASN1] | | NumericString ByteString | | PrintableString ByteString | | T61String ByteString | | VideoTexString ByteString | | IA5String ByteString | | UTCTime (Int, Int, Int, Int, Int, Int, Bool) | | GeneralizedTime (Int, Int, Int, Int, Int, Int, Bool) | | GraphicString ByteString | | VisibleString ByteString | | GeneralString ByteString | | UniversalString ByteString | | CharacterString ByteString | | BMPString ByteString | | Other TagClass TagNumber (Either ByteString [ASN1]) |
|
| | decodeASN1Get :: Get (Either ASN1Err ASN1) | | decodeASN1 :: ByteString -> Either ASN1Err ASN1 | | encodeASN1Put :: ASN1 -> Put | | encodeASN1 :: ASN1 -> ByteString |
|
|
Documentation |
|
data TagClass |
Constructors | Universal | | Application | | Context | | Private | |
| Instances | |
|
|
data ASN1 |
Constructors | EOC | | Boolean Bool | | IntVal Integer | | BitString Int ByteString | | OctetString ByteString | | Null | | OID [Integer] | | Real Double | | Enumerated | | UTF8String ByteString | | Sequence [ASN1] | | Set [ASN1] | | NumericString ByteString | | PrintableString ByteString | | T61String ByteString | | VideoTexString ByteString | | IA5String ByteString | | UTCTime (Int, Int, Int, Int, Int, Int, Bool) | | GeneralizedTime (Int, Int, Int, Int, Int, Int, Bool) | | GraphicString ByteString | | VisibleString ByteString | | GeneralString ByteString | | UniversalString ByteString | | CharacterString ByteString | | BMPString ByteString | | Other TagClass TagNumber (Either ByteString [ASN1]) | |
| Instances | |
|
|
CER serial functions
|
|
decodeASN1Get :: Get (Either ASN1Err ASN1) |
|
decodeASN1 :: ByteString -> Either ASN1Err ASN1 |
|
encodeASN1Put :: ASN1 -> Put |
|
encodeASN1 :: ASN1 -> ByteString |
|
Produced by Haddock version 2.7.2 |