共用方式為


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

備註

此屬性必須設定為 CustomRootTrust ,才能 CustomTrustStore 在憑證鏈結驗證中使用。

適用於