Skip to main content
Version: 4.4.0

CertificateValidationRevocationCheckPreference Enum

Namespace: iCore.Public.Crypto.X509Certificates
Assembly: iCore.Public.Crypto.dll

Specifies the preferred method for certificate revocation verification.

public enum CertificateValidationRevocationCheckPreference : int

Inheritance object 🡒 ValueType 🡒 Enum 🡒 CertificateValidationRevocationCheckPreference

Fields​

NameValueDescription
CheckBoth2Always download the CRL and get the OCSP status, and check revocation against both of them.
PreferCrl0Always try to retrieve the CRL first. If this fails, then get status from the OCSP server.
PreferOcsp1Always try to get the OCSP status first. If this fails, try to download the CRL.