TlsOptions.LocalClientCertificateSelector 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將叫用以動態方式選取本機用戶端憑證的回呼。 此優先順序高於 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)