ITlsConnectionFeature Interface¶
- Namespace
Microsoft.AspNetCore.Http.Features
- Assemblies
- Microsoft.AspNetCore.Http.Features
Syntax¶
public interface ITlsConnectionFeature
-
interface
Microsoft.AspNetCore.Http.Features.
ITlsConnectionFeature
Properties¶
-
Microsoft.AspNetCore.Http.Features.ITlsConnectionFeature.
ClientCertificate
¶ Synchronously retrieves the client certificate, if any.
Return type: System.Security.Cryptography.X509Certificates.X509Certificate2 X509Certificate2 ClientCertificate { get; set; }
-
Methods¶
-
GetClientCertificateAsync
(System.Threading.CancellationToken)¶ Asynchronously retrieves the client certificate, if any.
Return type: System.Threading.Tasks.Task<System.Security.Cryptography.X509Certificates.X509Certificate2> Task<X509Certificate2> GetClientCertificateAsync(CancellationToken cancellationToken)
-