CertificateAuthenticationOptions.ChainTrustValidationMode 属性

定义

用于针对 CustomTrustStore验证证书链的方法。

public:
 property System::Security::Cryptography::X509Certificates::X509ChainTrustMode ChainTrustValidationMode { System::Security::Cryptography::X509Certificates::X509ChainTrustMode get(); void set(System::Security::Cryptography::X509Certificates::X509ChainTrustMode value); };
public System.Security.Cryptography.X509Certificates.X509ChainTrustMode ChainTrustValidationMode { get; set; }
member this.ChainTrustValidationMode : System.Security.Cryptography.X509Certificates.X509ChainTrustMode with get, set
Public Property ChainTrustValidationMode As X509ChainTrustMode

属性值

默认为 System

注解

此属性必须设置为 才能 CustomRootTrustCustomTrustStore 证书链验证中使用。

适用于