ServerCertificateSelectionCallback 代理人
定義
サーバーの Secure Sockets Layer (SSL) 証明書を選択します。Selects the server Secure Sockets Layer (SSL) certificate.
public delegate System::Security::Cryptography::X509Certificates::X509Certificate ^ ServerCertificateSelectionCallback(System::Object ^ sender, System::String ^ hostName);
public delegate System.Security.Cryptography.X509Certificates.X509Certificate ServerCertificateSelectionCallback(object sender, string? hostName);
public delegate System.Security.Cryptography.X509Certificates.X509Certificate ServerCertificateSelectionCallback(object sender, string hostName);
type ServerCertificateSelectionCallback = delegate of obj * string -> X509Certificate
Public Delegate Function ServerCertificateSelectionCallback(sender As Object, hostName As String) As X509Certificate
パラメーター
- hostName
- String
クライアントによって要求されたホスト名。The host name requested by the client. クライアントで host_name TLS 拡張機能が使用されていない場合、hostName
は空の文字列です。If the client doesn't use the host_name TLS extension, the hostName
is an empty string.
戻り値
SSL 接続の確立に使用する X509Certificate。An X509Certificate used for establishing an SSL connection.
- 継承
注釈
サーバーは、このデリゲートを使用してサーバー接続証明書を選択します。The server uses this delegate to select a server connection certificate.
このデリゲートは、クラスによって使用され SslStream ます。This delegate is used by the SslStream class. クラスは、 SslStream クライアントとサーバー間で交換される情報をセキュリティで保護するために使用されます。The SslStream class is used to help secure information exchanged between a client and server.
拡張メソッド
GetMethodInfo(Delegate) |
指定したデリゲートによって表されるメソッドを表すオブジェクトを取得します。Gets an object that represents the method represented by the specified delegate. |