Share via


X509PeerCertificateAuthenticationElement.CustomCertificateValidatorType Vlastnost

Definice

Získá nebo nastaví typ validátoru certifikátu vlastního partnerského vztahu, který se má použít.

public:
 property System::String ^ CustomCertificateValidatorType { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("customCertificateValidatorType", DefaultValue="")]
[System.Configuration.StringValidator(MinLength=0)]
public string CustomCertificateValidatorType { get; set; }
[<System.Configuration.ConfigurationProperty("customCertificateValidatorType", DefaultValue="")>]
[<System.Configuration.StringValidator(MinLength=0)>]
member this.CustomCertificateValidatorType : string with get, set
Public Property CustomCertificateValidatorType As String

Hodnota vlastnosti

Typ, který X509CertificateValidator se má použít.

Atributy

Poznámky

Windows Communication Foundation (WCF) poskytuje výchozí validátor partnerských certifikátů, který ověřuje partnerský certifikát v úložišti důvěryhodných osob. Také ověří, že certifikát zřetědí platný kořenový adresář. Můžete implementovat vlastní validátor pro určení jiného chování a použít tuto vlastnost k odkazování na vlastní validátor.

Platí pro