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

Portabilityunknown
Stabilityexperimental
MaintainerVincent Hanquez <vincent@snarc.org>
Safe HaskellSafe-Infered

Data.ASN1.Object

Description

 

Synopsis

Documentation

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.