X509CertificateValidator.PeerOrChainTrust 属性

定义

获取一个验证程序,它通过验证证书是否位于 TrustedPeople 证书存储区中来验证证书,或通过构建证书信任链来验证证书。Gets a validator that verifies the certificate is in the TrustedPeople certificate store or by building a certificate trust chain. 如果证书通过任一验证方法,就是受信任的。The certificate is trusted if it passes either verification method.

public:
 static property System::IdentityModel::Selectors::X509CertificateValidator ^ PeerOrChainTrust { System::IdentityModel::Selectors::X509CertificateValidator ^ get(); };
public static System.IdentityModel.Selectors.X509CertificateValidator PeerOrChainTrust { get; }
member this.PeerOrChainTrust : System.IdentityModel.Selectors.X509CertificateValidator
Public Shared ReadOnly Property PeerOrChainTrust As X509CertificateValidator

属性值

X509CertificateValidator

一个 X509CertificateValidator,它通过验证证书是否位于 TrustedPeople 证书存储区中来验证证书,或通过构建证书信任链来验证证书。A X509CertificateValidator that verifies the certificate is in the TrustedPeople certificate store or by building a certificate trust chain.

注解

此静态属性的值可作为参数提供给 X509SecurityTokenAuthenticator 类的构造函数之一。The value of this static property can be supplied as a parameter to one of the constructors for the X509SecurityTokenAuthenticator class.

适用于