Certificate and Trust Return Values

The following table lists the certificate and certificate trust return values. These values are contained in the header file Winerror.h.

SymbolicCodeDescription
CERT_E_CRITICAL0x800B0105A certificate contains an unknown extension that is marked "critical."
CERT_E_INVALID_NAME0x800B0114The certificate has a name that is not valid. The name is either not included in the permitted list or is explicitly excluded.
CERT_E_INVALID_POLICY0x800B0113The certificate has a policy that is not valid.
CERT_E_ISSUERCHAINING0x800B0107A parent of a given certificate in fact did not issue that child certificate.
CERT_E_MALFORMED0x800B0108A certificate is missing or has an empty value for an important field, such as a subject or issuer name.
CERT_E_PATHLENCONST0x800B0104A path length constraint in the certification chain has been violated.
CERT_E_UNTRUSTEDCA0x800B0112A certification chain processed correctly, but one of the CA certificates is not trusted by the policy provider.
CRYPT_E_NO_REVOCATION_CHECK0x80092012The revocation function was unable to check revocation for the certificate.
TRUST_E_BAD_DIGEST0x80096010The digital signature of the object did not verify.
TRUST_E_BASIC_CONSTRAINTS0x80096019The basic constraint extension of a certificate has not been observed.
TRUST_E_CERT_SIGNATURE0x80096004The signature of the certificate cannot be verified.
TRUST_E_COUNTER_SIGNER0x80096003One of the counter signatures was not valid.
TRUST_E_EXPLICIT_DISTRUST0x800B0111The certificate was explicitly marked as untrusted by the user.
TRUST_E_FINANCIAL_CRITERIA0x8009601EThe certificate does not meet or contain the Authenticode financial extensions.
TRUST_E_NO_SIGNER_CERT0x80096002The certificate for the signer of the message is not valid or not found.
TRUST_E_SYSTEM_ERROR0x80096001A system-level error occurred while verifying trust.
TRUST_E_TIME_STAMP0x80096005The time stamp signature or certificate could not be verified or is malformed.
17 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.