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

Portabilityunknown
Stabilityexperimental
MaintainerVincent Hanquez <vincent@snarc.org>
Safe HaskellNone

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.