X509ChainPolicy.TrustMode 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定用于生成证书链的根信任的模式。
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 确定根信任的值。
注解
使用 时 CustomRootTrust , CustomTrustStore 将使用 而不是默认根信任。