X509ServiceCertificateAuthenticationElement.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 service 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 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.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈