Skip to content

DecodeDerErrorCode ​

DecodeDerErrorCode ​

Machine-readable failure reason for the DER readers and decoders.

malformed is input that breaks DER or the decoder's ASN.1 type. unsupported is input the type may allow but micro509 does not decode: a TeletexString octet outside the X.690 §8.23.5.2 initial state. limit_exceeded is an implementation limit: an OBJECT IDENTIFIER sub-identifier encoded in more than 64 octets, a tag number of 2^53 or more, or DER nested deeper than 64 levels.

ts
type DecodeDerErrorCode = DecodeFailureCode

Released under the MIT License.