Defines the different certificate status values.
Namespace: LLCryptoLib.Security.CertificatesAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
| C# |
|---|
public enum CertificateStatus |
| Visual Basic |
|---|
Public Enumeration CertificateStatus |
| Visual C++ |
|---|
public enum class CertificateStatus |
Members
| Member name | Value | Description | |
|---|---|---|---|
| ValidCertificate | 0 | The certificate is valid. | |
| Expired | -2146762495 | A required certificate is not within its validity period. | |
| InvalidBasicConstraints | -2146869223 | The certificate's basic constraints are invalid or missing. | |
| InvalidChain | -2146762486 | A chain of certificates was not correctly created. | |
| InvalidNesting | -2146762494 | The validity periods of the certification chain do not nest correctly. | |
| InvalidPurpose | -2146762490 | A certificate is being used for a non permitted purpose. | |
| InvalidRole | -2146762493 | A certificate that can only be used as an end-entity is being used as a CA or visa versa. | |
| InvalidSignature | -2146869244 | The signature of the certificate cannot be verified. | |
| NoCNMatch | -2146762481 | The certificate's CN name does not match the passed value. | |
| ParentRevoked | -2146762484 | A certificate in the chain has been explicitly revoked by its issuer. | |
| RevocationFailure | -2146762482 | The revocation process could not continue. The certificates could not be checked. | |
| RevocationServerOffline | -2146885613 | Since the revocation server was offline, the called function was not able to complete the revocation check. | |
| Revoked | -2146885616 | The certificate or signature has been revoked. | |
| UntrustedRoot | -2146762487 | A certification chain processed correctly but terminated in a root certificate not trusted by the trust provider. | |
| UntrustedTestRoot | -2146762483 | The root certificate is a testing certificate and policy settings disallow test certificates. | |
| WrongUsage | -2146762480 | The certificate is not valid for the requested usage. | |
| OtherError | -1 | The certificate is invalid. |