X509ChainPolicy.TrustMode 属性
定义
确定用于构建证书链的根信任的模式。The mode determining the root trust for building the certificate chain.
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确定根信任的值。An X509ChainTrustMode value determining the root trust.
注解
CustomRootTrust使用时, CustomTrustStore 将使用,而不是默认根信任。When CustomRootTrust is used, the CustomTrustStore will be used instead of the default root trust.