Compartilhar via


ITlsConnectionFeature.GetRemoteCertificateAsync(CancellationToken) Método

Definição

Recupera de forma assíncrona o certificado do ponto de extremidade remoto, se houver.

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

Parâmetros

cancellationToken
CancellationToken

Retornos

Aplica-se a