X509ServiceCertificateAuthenticationElement::CustomCertificateValidatorType Property

 

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

Namespace:   System.ServiceModel.Configuration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
[ConfigurationPropertyAttribute("customCertificateValidatorType", 
	DefaultValue = "")]
[StringValidatorAttribute(MinLength = 0)]
property String^ CustomCertificateValidatorType {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

The type of X509CertificateValidator to be used.

Windows Communication Foundation (WCF) provides a default service certificate validator that verifies the service 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.

.NET Framework
Available since 3.0
Return to top
Show: