Redigera

Dela via


X509PeerCertificateAuthenticationElement.CustomCertificateValidatorType Property

Definition

Gets or sets the type of custom peer certificate validator to be used.

public:
 property System::String ^ CustomCertificateValidatorType { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("customCertificateValidatorType", DefaultValue="")]
[System.Configuration.StringValidator(MinLength=0)]
public string CustomCertificateValidatorType { get; set; }
[<System.Configuration.ConfigurationProperty("customCertificateValidatorType", DefaultValue="")>]
[<System.Configuration.StringValidator(MinLength=0)>]
member this.CustomCertificateValidatorType : string with get, set
Public Property CustomCertificateValidatorType As String

Property Value

The type of X509CertificateValidator to be used.

Attributes

Remarks

Windows Communication Foundation (WCF) provides a default peer certificate validator that verifies the peer certificate against the trusted people store. It also verifies that the certificate chains up to a valid root. You can implement a custom validator to specify a different behavior and use this property to point to the custom validator.

Applies to