X509CertificateValidator.PeerTrust 属性

定义

获取一个验证程序,验证证书是否位于 TrustedPeople 证书存储区中。

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

属性值

一个 X509CertificateValidator,它验证证书是否位于 TrustedPeople 证书存储区中。

注解

此静态属性的值可作为参数提供给 X509SecurityTokenAuthenticator 类的构造函数之一。

适用于