CertificateValidationRevocationCheckPreference Enum
Namespace: iCore.Public.Crypto.X509Certificates
Assembly: iCore.Public.Crypto.dll
Specifies the preferred method for certificate revocation verification.
- C#
- VB
public enum CertificateValidationRevocationCheckPreference : int
Public Enum CertificateValidationRevocationCheckPreference : Integer
Inheritance object 🡒 ValueType 🡒 Enum 🡒 CertificateValidationRevocationCheckPreference
Fields​
Name | Value | Description |
---|---|---|
CheckBoth | 2 | Always download the CRL and get the OCSP status, and check revocation against both of them. |
PreferCrl | 0 | Always try to retrieve the CRL first. If this fails, then get status from the OCSP server. |
PreferOcsp | 1 | Always try to get the OCSP status first. If this fails, try to download the CRL. |