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

LicenseBSD-style
MaintainerVincent Hanquez <vincent@snarc.org>
Stabilityexperimental
Portabilityunknown
Safe HaskellNone
LanguageHaskell2010

Data.ASN1.Object

Description

Deprecated: Use Data.ASN1.Types instead

Synopsis

Documentation

class ASN1Object a where #

Define an object that can be converted to and from ASN.1

Methods

toASN1 :: a -> ASN1S #

transform an object into a chunk of ASN1 stream.

fromASN1 :: [ASN1] -> Either String (a, [ASN1]) #

returns either an object along the remaining ASN1 stream, or an error.