X509PeerCertificateAuthenticationElement.CustomCertificateValidatorType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.NET