CertificateValidationOptions Enum
Namespace: iCore.Public.Crypto.X509Certificates
Assembly: iCore.Public.Crypto.dll
Defines values that can be combined to indicate how the certificate validation process should occur.
- C#
- VB
public enum CertificateValidationOptions : int
Public Enum CertificateValidationOptions : Integer
Inheritance object 🡒 ValueType 🡒 Enum 🡒 CertificateValidationOptions
Fields​
Name | Value | Description |
---|---|---|
CheckCRL | 1 | Specifies that CRL check must be performed. |
CheckOCSP | 4 | Specifies that OCSP check must be performed. |
CheckValidityPeriodForTrusted | 16 | Specifies that validity period check should be performed for certificates, which are treated as trusted. |
Default | 20591 | Specifies the default options. |
ForceCompleteChainValidationForTrusted | 32 | Specifies that the certificate chain down to CA certificate should be validated for trusted certificates |
ForceRevocationCheckForRoot | 64 | Specifies that root certificate revocation check should be performed. |
IgnoreBadOCSPChains | 128 | Specifies that validator must ignore bad OCSP chains during validation. |
IgnoreCABasicConstraints | 131072 | To be documented. |
IgnoreCAKeyUsage | 256 | Specifies that the key usage extension of the issuer (CA) certificates (when available) should be ignored and not checked for whether it allows use of such certificates for signing other certificates |
IgnoreCANameConstraints | 262144 | To be documented. |
IgnoreRevocationKeyUsage | 512 | Specifies that the key usage extension of the issuer (CA) certificates (when available) should be ignored and not checked for whether it allows use of such certificates for signing revocation information. |
IgnoreSSLKeyUsage | 1024 | Specifies that the key usage extension of the issuer (CA) certificates (when available) should be ignored and not checked for whether it allows use of such certificates in SSL protocol communications. |
IgnoreSystemTrust | 2048 | Specifies whether trusted Windows Certificate Stores should be treated as known certificates rather than trusted. |
ImplicitlyTrustSelfSignedCertificates | 65536 | To be documented. |
LookupCRLByNameIfDPNotPresent | 32768 | To be documented. |
MandatoryCRLCheck | 2 | Specifies that CRL check is mandatory. |
MandatoryOCSPCheck | 8 | Specifies that OCSP check is mandatory. |
MandatoryRevocationCheck | 4096 | Specifies that a mandatory revocation check has to be performed. |
None | 0 | None of the options are specified. |
OfflineMode | 8192 | Specifies that off-line mode is to be used. |
UseSystemStores | 16384 | Specifies that the Windows System Certificate Stores must be used. |