X509ChainPolicy.TrustMode 属性

定义

确定用于生成证书链的根信任的模式。

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

属性值

一个 X509ChainTrustMode 确定根信任的值。

注解

使用 时 CustomRootTrustCustomTrustStore 将使用 而不是默认根信任。

适用于