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

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

Data.ASN1.Error

Contents

Description

 

Synopsis

Errors types

data ASN1Error Source

Possible errors during parsing operations

Constructors

StreamUnexpectedEOC

Unexpected EOC in the stream.

StreamInfinitePrimitive

Invalid primitive with infinite length in a stream.

StreamConstructionWrongSize

A construction goes over the size specified in the header.

StreamUnexpectedSituation String

An unexpected situation has come up parsing an ASN1 event stream.

ParsingHeaderFail String

Parsing an invalid header.

ParsingPartial

Parsing is not finished, there is construction unended.

TypeNotImplemented String

Decoding of a type that is not implemented. Contribution welcome.

TypeDecodingFailed String

Decoding of a knowed type failed.

PolicyFailed String String

Policy failed including the name of the policy and the reason.