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.
| Symbolic | Code | Description |
|---|---|---|
| CERT_E_CRITICAL | 0x800B0105 | A certificate contains an unknown extension that is marked "critical." |
| CERT_E_INVALID_NAME | 0x800B0114 | The 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_POLICY | 0x800B0113 | The certificate has a policy that is not valid. |
| CERT_E_ISSUERCHAINING | 0x800B0107 | A parent of a given certificate in fact did not issue that child certificate. |
| CERT_E_MALFORMED | 0x800B0108 | A certificate is missing or has an empty value for an important field, such as a subject or issuer name. |
| CERT_E_PATHLENCONST | 0x800B0104 | A path length constraint in the certification chain has been violated. |
| CERT_E_UNTRUSTEDCA | 0x800B0112 | A certification chain processed correctly, but one of the CA certificates is not trusted by the policy provider. |
| CRYPT_E_NO_REVOCATION_CHECK | 0x80092012 | The revocation function was unable to check revocation for the certificate. |
| TRUST_E_BAD_DIGEST | 0x80096010 | The digital signature of the object did not verify. |
| TRUST_E_BASIC_CONSTRAINTS | 0x80096019 | The basic constraint extension of a certificate has not been observed. |
| TRUST_E_CERT_SIGNATURE | 0x80096004 | The signature of the certificate cannot be verified. |
| TRUST_E_COUNTER_SIGNER | 0x80096003 | One of the counter signatures was not valid. |
| TRUST_E_EXPLICIT_DISTRUST | 0x800B0111 | The certificate was explicitly marked as untrusted by the user. |
| TRUST_E_FINANCIAL_CRITERIA | 0x8009601E | The certificate does not meet or contain the Authenticode financial extensions. |
| TRUST_E_NO_SIGNER_CERT | 0x80096002 | The certificate for the signer of the message is not valid or not found. |
| TRUST_E_SYSTEM_ERROR | 0x80096001 | A system-level error occurred while verifying trust. |
| TRUST_E_TIME_STAMP | 0x80096005 | The 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.