Marmos
v juptune
v asn1
v lang
v ast
v Classes
v Enums
v ir
v parser
v Enums
v Structs
v core
v crypto
v keyexchange
v memory
v data
v alphabet
v buffer
v json
v builder
v parser
v Enums
v Structs
v serialise
v Structs
v Templates
v pem
v Enums
v Structs

Functions Asn1Real.fromDecoding

1
2
3
4
5
6
7
8
9
module juptune.asn1.decode.bcd.encoding;

Result fromDecoding(
    Asn1Ruleset ruleset
)(
    MemoryReader mem, 
    Asn1Real result, 
    Asn1Identifier ident
);

Documentation

Decodes the passed in ASN.1 content bytes.

Notes

Currently no decimal encoding forms are supported due to lack of dev time spent on it.

Params

Throws

Asn1DecodeError.realIsConstructedif the given identdescribes a constructed encoding.

Asn1DecodeError.realUnsupportedDecimalEncodingif decimal encoding is used, and specifies a format that's not recognised.

Asn1DecodeError.realUnsupportedSpecialEncodingif special encoding is used, and specifies a special value that's not recognised.

Asn1DecodeError.realInvalidDerEncodingfor all other DER spec violations.

Asn1DecodeError.realInvalidEncodingfor all other BER spec violations.

Returns

A Resultdepicting whether an error occured - the error string will contain verbose details.