asn1-types-0.2.3: ASN.1 types

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

Data.ASN1.Types.Lowlevel

Contents

Description

 

Synopsis

Raw types

type ASN1Tag = IntSource

ASN1 Tag

data ASN1Length Source

ASN1 Length with all different formats

Constructors

LenShort Int

Short form with only one byte. length has to be < 127.

LenLong Int Int

Long form of N bytes

LenIndefinite

Length is indefinite expect an EOC in the stream to finish the type

data ASN1Header Source

ASN1 Header with the class, tag, constructed flag and length.

Events types

data ASN1Event Source

represent one event from an asn1 data stream

Constructors

Header ASN1Header

ASN1 Header

Primitive !ByteString

Primitive

ConstructionBegin

Constructed value start

ConstructionEnd

Constructed value end