แก้ไข

แชร์ผ่าน


X509PeerCertificateAuthenticationElement.RevocationMode Property

Definition

Gets or sets the certificate revocation mode.

public:
 property System::Security::Cryptography::X509Certificates::X509RevocationMode RevocationMode { System::Security::Cryptography::X509Certificates::X509RevocationMode get(); void set(System::Security::Cryptography::X509Certificates::X509RevocationMode value); };
[System.Configuration.ConfigurationProperty("revocationMode", DefaultValue=System.Security.Cryptography.X509Certificates.X509RevocationMode.Online)]
public System.Security.Cryptography.X509Certificates.X509RevocationMode RevocationMode { get; set; }
[<System.Configuration.ConfigurationProperty("revocationMode", DefaultValue=System.Security.Cryptography.X509Certificates.X509RevocationMode.Online)>]
member this.RevocationMode : System.Security.Cryptography.X509Certificates.X509RevocationMode with get, set
Public Property RevocationMode As X509RevocationMode

Property Value

The certificate revocation mode.

Attributes

Remarks

The system verifies that the peer certificate has not been revoked by looking it up in the revoked certificate list. This check can be performed either by checking online or against a cached revocation list. Revocation checking can be turned off by setting this property to NoCheck.

Applies to