HttpsConnectionAdapterOptions.ServerCertificateSelector プロパティ

定義

サーバー証明書を動的に選択するために呼び出されるコールバック。 これは、ServerCertificate よりも優先度が高くなります。 SNI が使用できない場合、name パラメーターは null になります。 HTTP/3 接続の 場合、 は ConnectionContext null になります。

サーバー証明書に拡張キー使用法拡張機能がある場合、使用法にはサーバー認証 (OID 1.3.6.1.5.5.7.3.1) が含まれている必要があります。

public:
 property Func<Microsoft::AspNetCore::Connections::ConnectionContext ^, System::String ^, System::Security::Cryptography::X509Certificates::X509Certificate2 ^> ^ ServerCertificateSelector { Func<Microsoft::AspNetCore::Connections::ConnectionContext ^, System::String ^, System::Security::Cryptography::X509Certificates::X509Certificate2 ^> ^ get(); void set(Func<Microsoft::AspNetCore::Connections::ConnectionContext ^, System::String ^, System::Security::Cryptography::X509Certificates::X509Certificate2 ^> ^ value); };
public Func<Microsoft.AspNetCore.Connections.ConnectionContext,string,System.Security.Cryptography.X509Certificates.X509Certificate2> ServerCertificateSelector { get; set; }
public Func<Microsoft.AspNetCore.Connections.ConnectionContext?,string?,System.Security.Cryptography.X509Certificates.X509Certificate2?>? ServerCertificateSelector { get; set; }
member this.ServerCertificateSelector : Func<Microsoft.AspNetCore.Connections.ConnectionContext, string, System.Security.Cryptography.X509Certificates.X509Certificate2> with get, set
Public Property ServerCertificateSelector As Func(Of ConnectionContext, String, X509Certificate2)

プロパティ値

適用対象