X509ClientCertificateAuthenticationElement.CustomCertificateValidatorType Property


Gets or sets the type of custom client certificate validator used.

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

	DefaultValue = "")]
[StringValidatorAttribute(MinLength = 0)]
public string CustomCertificateValidatorType { get; set; }

Property Value

Type: System.String

The type of X509CertificateValidator to be used.

If the CertificateValidationMode property is set to Custom, you must set the CustomCertificateValidator property to a custom validator that inherits from the X509CertificateValidator class.

For more information, see How to: Create a Service that Employs a Custom Certificate Validator.

.NET Framework
Available since 3.0
Return to top