Edit

Share via


TlsOptions.LocalClientCertificateSelector Property

Definition

A callback that will be invoked to dynamically select a local client certificate. This is higher priority than LocalCertificate.

If the certificate has an Extended Key Usage extension, the usages must include Client Authentication (OID 1.3.6.1.5.5.7.3.2).

public Func<object,string,System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Cryptography.X509Certificates.X509Certificate,string[],System.Security.Cryptography.X509Certificates.X509Certificate2> LocalClientCertificateSelector { get; set; }
member this.LocalClientCertificateSelector : Func<obj, string, System.Security.Cryptography.X509Certificates.X509CertificateCollection, System.Security.Cryptography.X509Certificates.X509Certificate, string[], System.Security.Cryptography.X509Certificates.X509Certificate2> with get, set
Public Property LocalClientCertificateSelector As Func(Of Object, String, X509CertificateCollection, X509Certificate, String(), X509Certificate2)

Property Value

Applies to