crypton-asn1-encoding-0.9.7: ASN.1 data (raw, BER or DER) readers and writers
Copyright(c) 2010-2013 Vincent Hanquez <vincent@snarc.org>
LicenseBSD-style
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 ASN.1 stream.

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

Returns either an object along the remaining ASN.1 stream, or an error.