CertificateAuthenticationOptions.ChainTrustValidationMode 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
用來驗證憑證鏈結的方法 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 在憑證鏈結驗證中使用。