ParseCertificateErrorCode
ParseCertificateErrorCode
Machine-readable failure reason for parseCertificateDer / parseCertificatePem.
malformed is input that breaks DER, ASN.1 or the RFC 5280 profile. unsupported is input the profile 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 ParseCertificateErrorCode = DecodeFailureCode