CertMessages
CertMessages.Instance (HResult.CERT) contains Microsoft's HResult code descriptions for Certificate client or server (CERT facility).
HResult | Key | Text | Exception |
---|---|---|---|
0x800B0001 | CERT.TRUST_E_PROVIDER_UNKNOWN | Unknown trust provider. | |
0x800B0002 | CERT.TRUST_E_ACTION_UNKNOWN | The trust verification action specified is not supported by the specified trust provider. | |
0x800B0003 | CERT.TRUST_E_SUBJECT_FORM_UNKNOWN | The form specified for the subject is not one supported or known by the specified trust provider. | |
0x800B0004 | CERT.TRUST_E_SUBJECT_NOT_TRUSTED | The subject is not trusted for the specified action. | |
0x800B0005 | CERT.DIGSIG_E_ENCODE | Error due to problem in ASN.1 encoding process. | |
0x800B0006 | CERT.DIGSIG_E_DECODE | Error due to problem in ASN.1 decoding process. | |
0x800B0007 | CERT.DIGSIG_E_EXTENSIBILITY | Reading/writing extensions where attributes are appropriate, and vice versa. | |
0x800B0008 | CERT.DIGSIG_E_CRYPTO | Unspecified cryptographic failure. | |
0x800B0009 | CERT.PERSIST_E_SIZEDEFINITE | The size of the data could not be determined. | |
0x800B000A | CERT.PERSIST_E_SIZEINDEFINITE | The size of the indefinite-sized data could not be determined. | |
0x800B000B | CERT.PERSIST_E_NOTSELFSIZING | This object does not read and write self-sizing data. | |
0x800B0100 | CERT.TRUST_E_NOSIGNATURE | No signature was present in the subject. | |
0x800B0101 | CERT.CERT_E_EXPIRED | A required certificate is not within its validity period when verifying against the current system clock or the time stamp in the signed file. | |
0x800B0102 | CERT.CERT_E_VALIDITYPERIODNESTING | The validity periods of the certification chain do not nest correctly. | |
0x800B0103 | CERT.CERT_E_ROLE | A certificate that can only be used as an end entity is being used as a CA or vice versa. | |
0x800B0104 | CERT.CERT_E_PATHLENCONST | A path length constraint in the certification chain has been violated. | |
0x800B0105 | CERT.CERT_E_CRITICAL | A certificate contains an unknown extension that is marked "critical". | |
0x800B0106 | CERT.CERT_E_PURPOSE | A certificate is being used for a purpose other than the ones specified by its CA. | |
0x800B0107 | CERT.CERT_E_ISSUERCHAINING | A parent of a given certificate did not issue that child certificate. | |
0x800B0108 | CERT.CERT_E_MALFORMED | A certificate is missing or has an empty value for an important field, such as a subject or issuer name. | |
0x800B0109 | CERT.CERT_E_UNTRUSTEDROOT | A certificate chain processed, but terminated in a root certificate that is not trusted by the trust provider. | |
0x800B010A | CERT.CERT_E_CHAINING | A certificate chain could not be built to a trusted root authority. | |
0x800B010B | CERT.TRUST_E_FAIL | Generic trust failure. | |
0x800B010C | CERT.CERT_E_REVOKED | A certificate was explicitly revoked by its issuer. If the certificate is Microsoft Windows PCA 2010, then the driver was signed by a certificate no longer recognized by Windows.<3> | |
0x800B010D | CERT.CERT_E_UNTRUSTEDTESTROOT | The certification path terminates with the test root that is not trusted with the current policy settings. | |
0x800B010E | CERT.CERT_E_REVOCATION_FAILURE | The revocation process could not continue—the certificates could not be checked. | |
0x800B010F | CERT.CERT_E_CN_NO_MATCH | The certificate's CN name does not match the passed value. | |
0x800B0110 | CERT.CERT_E_WRONG_USAGE | The certificate is not valid for the requested usage. | |
0x800B0111 | CERT.TRUST_E_EXPLICIT_DISTRUST | The certificate was explicitly marked as untrusted by the user. | |
0x800B0112 | CERT.CERT_E_UNTRUSTEDCA | A certification chain processed correctly, but one of the CA certificates is not trusted by the policy provider. | |
0x800B0113 | CERT.CERT_E_INVALID_POLICY | The certificate has invalid policy. | |
0x800B0114 | CERT.CERT_E_INVALID_NAME | The certificate has an invalid name. The name is not included in the permitted list or is explicitly excluded. |
This document is partially derived from work with following license.
/*This file is a derivate of a source file that has following license (below). ======================================================================== The MIT License (MIT) Copyright (c) Microsoft Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ======================================================================*/