共用方式為


TlsOptions.LocalClientCertificateSelector 屬性

定義

將叫用以動態方式選取本機用戶端憑證的回呼。 此優先順序高於 LocalCertificate。

如果憑證具有擴充金鑰使用方式延伸模組,則使用方式必須包含用戶端驗證 (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)

屬性值

適用於