Redigera

Dela via


X509CertificateValidator.PeerOrChainTrust Property

Definition

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; }
static member PeerOrChainTrust : System.IdentityModel.Selectors.X509CertificateValidator
Public Shared ReadOnly Property PeerOrChainTrust As X509CertificateValidator

Property Value

A X509CertificateValidator that verifies the certificate is in the TrustedPeople certificate store or by building a certificate trust chain.

Remarks

The value of this static property can be supplied as a parameter to one of the constructors for the X509SecurityTokenAuthenticator class.

Applies to