次の方法で共有


ITlsConnectionFeature.GetClientCertificateAsync(CancellationToken) メソッド

定義

クライアント証明書 (存在する場合) を非同期的に取得します。

public:
 System::Threading::Tasks::Task<System::Security::Cryptography::X509Certificates::X509Certificate2 ^> ^ GetClientCertificateAsync(System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<System.Security.Cryptography.X509Certificates.X509Certificate2> GetClientCertificateAsync (System.Threading.CancellationToken cancellationToken);
public System.Threading.Tasks.Task<System.Security.Cryptography.X509Certificates.X509Certificate2?> GetClientCertificateAsync (System.Threading.CancellationToken cancellationToken);
abstract member GetClientCertificateAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Security.Cryptography.X509Certificates.X509Certificate2>
Public Function GetClientCertificateAsync (cancellationToken As CancellationToken) As Task(Of X509Certificate2)

パラメーター

cancellationToken
CancellationToken

戻り値

適用対象