asn1-data-0.7.1: ASN1 data reader and writer in RAW, BER and DER forms
Data.ASN1.Object
Description
Synopsis
class ASN1Object a whereSource
an object that can be marshalled from and to ASN1
Methods
toASN1 :: a -> [ASN1]Source
transform an object into an ASN1 stream.
fromASN1 :: [ASN1] -> Either String (a, [ASN1])Source
returns either an object along the remaining ASN1 stream, or an error.