IssuedTokenServiceElement.CertificateValidationMode 属性

定义

获取或设置证书验证模式。

public:
 property System::ServiceModel::Security::X509CertificateValidationMode CertificateValidationMode { System::ServiceModel::Security::X509CertificateValidationMode get(); void set(System::ServiceModel::Security::X509CertificateValidationMode value); };
[System.Configuration.ConfigurationProperty("certificateValidationMode", DefaultValue=System.ServiceModel.Security.X509CertificateValidationMode.ChainTrust)]
public System.ServiceModel.Security.X509CertificateValidationMode CertificateValidationMode { get; set; }
[<System.Configuration.ConfigurationProperty("certificateValidationMode", DefaultValue=System.ServiceModel.Security.X509CertificateValidationMode.ChainTrust)>]
member this.CertificateValidationMode : System.ServiceModel.Security.X509CertificateValidationMode with get, set
Public Property CertificateValidationMode As X509CertificateValidationMode

属性值

X509CertificateValidationMode

X509CertificateValidationMode 的有效值。 如果设置为 Custom,则还必须提供 customCertificateValidator。 默认值为 ChainTrust

属性

适用于