HttpsConnectionAdapterOptions.ClientCertificateValidation 属性

定义

为身份验证期间将调用的其他客户端证书验证指定回调。 如果在 AllowAnyClientCertificate() 设置此回调后调用 ,则将忽略这一点。

public:
 property Func<System::Security::Cryptography::X509Certificates::X509Certificate2 ^, System::Security::Cryptography::X509Certificates::X509Chain ^, System::Net::Security::SslPolicyErrors, bool> ^ ClientCertificateValidation { Func<System::Security::Cryptography::X509Certificates::X509Certificate2 ^, System::Security::Cryptography::X509Certificates::X509Chain ^, System::Net::Security::SslPolicyErrors, bool> ^ get(); void set(Func<System::Security::Cryptography::X509Certificates::X509Certificate2 ^, System::Security::Cryptography::X509Certificates::X509Chain ^, System::Net::Security::SslPolicyErrors, bool> ^ value); };
public Func<System.Security.Cryptography.X509Certificates.X509Certificate2,System.Security.Cryptography.X509Certificates.X509Chain,System.Net.Security.SslPolicyErrors,bool> ClientCertificateValidation { get; set; }
public Func<System.Security.Cryptography.X509Certificates.X509Certificate2,System.Security.Cryptography.X509Certificates.X509Chain?,System.Net.Security.SslPolicyErrors,bool>? ClientCertificateValidation { get; set; }
member this.ClientCertificateValidation : Func<System.Security.Cryptography.X509Certificates.X509Certificate2, System.Security.Cryptography.X509Certificates.X509Chain, System.Net.Security.SslPolicyErrors, bool> with get, set
Public Property ClientCertificateValidation As Func(Of X509Certificate2, X509Chain, SslPolicyErrors, Boolean)

属性值

适用于