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

LicenseBSD-style
MaintainerVincent Hanquez <vincent@snarc.org>
Stabilityexperimental
Portabilityunknown
Safe HaskellSafe-Inferred
LanguageHaskell98

Data.ASN1.Object

Description

 

Synopsis

Documentation

class ASN1Object a where Source

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.