ASN.1 Encoding/Decoding Return Values

The following table contains return values that may be returned by functions performing Abstract Syntax Notation One (ASN.1) encoding or decoding.

SymbolicCodeDescription
CRYPT_E_ASN1_ERROR0x80093100ASN.1 Certificate encode/decode return value base
CRYPT_E_ASN1_INTERNAL0x80093101ASN.1 internal encode or decode error
CRYPT_E_ASN1_EOD0x80093102ASN.1 unexpected end of data
CRYPT_E_ASN1_CORRUPT0x80093103ASN.1 corrupted data
CRYPT_E_ASN1_LARGE0x80093104ASN.1 value too large
CRYPT_E_ASN1_CONSTRAINT0x80093105ASN.1 constraint violated
CRYPT_E_ASN1_MEMORY0x80093106ASN.1 out of memory
CRYPT_E_ASN1_OVERFLOW0x80093107ASN.1 buffer overflow
CRYPT_E_ASN1_BADPDU0x80093108ASN.1 function not supported for this PDU
CRYPT_E_ASN1_BADARGS0x80093109ASN.1 bad arguments to function call
CRYPT_E_ASN1_BADREAL0x8009310AASN.1 bad real value
CRYPT_E_ASN1_BADTAG0x8009310BASN.1 bad tag value met
CRYPT_E_ASN1_CHOICE0x8009310CASN.1 bad choice value
CRYPT_E_ASN1_RULE0x8009310DASN.1 bad encoding rule
CRYPT_E_ASN1_UTF80x8009310EASN.1 bad Unicode (UTF8)
CRYPT_E_ASN1_PDU_TYPE0x80093133ASN.1 bad PDU type
CRYPT_E_ASN1_NYI0x80093134ASN.1 not yet implemented
CRYPT_E_ASN1_EXTENDED0x80093201ASN.1 skipped unknown extensions
CRYPT_E_ASN1_NOEOD0x80093202ASN.1 end of data expected
19 entries

Article text from the Win32 documentation (opens in a new tab), by Microsoft, under the CC BY 4.0 (opens in a new tab) licence.