Share via


SslClientAuthenticationOptions.CertificateRevocationCheckMode 属性

定义

获取或设置证书验证的证书吊销模式。

public:
 property System::Security::Cryptography::X509Certificates::X509RevocationMode CertificateRevocationCheckMode { System::Security::Cryptography::X509Certificates::X509RevocationMode get(); void set(System::Security::Cryptography::X509Certificates::X509RevocationMode value); };
public System.Security.Cryptography.X509Certificates.X509RevocationMode CertificateRevocationCheckMode { get; set; }
member this.CertificateRevocationCheckMode : System.Security.Cryptography.X509Certificates.X509RevocationMode with get, set
Public Property CertificateRevocationCheckMode As X509RevocationMode

属性值

X509RevocationMode 中的值之一。 默认值为 NoCheck

例外

此值包含无效枚举值。

注解

使用证书时,系统会通过检查客户端证书是否不在吊销的证书列表中来验证客户端证书是否未吊销。 可以通过联机检查或针对缓存的吊销列表执行此验证。 可以通过将此属性设置为 NoCheck来关闭吊销检查。

有关详细信息,请参阅使用证书

适用于