12 implementations of GetClientCertificateAsync
Kestrel.SampleApp (1)
ClientCertBufferingFeature.cs (1)
57public async Task<X509Certificate2> GetClientCertificateAsync(CancellationToken cancellationToken)
Microsoft.AspNetCore.Http (1)
Features\TlsConnectionFeature.cs (1)
17public Task<X509Certificate2?> GetClientCertificateAsync(CancellationToken cancellationToken)
Microsoft.AspNetCore.Http.Extensions.Tests (2)
RequestDelegateFactoryTests.cs (1)
3801public Task<X509Certificate2?> GetClientCertificateAsync(CancellationToken cancellationToken)
RequestDelegateGenerator\SharedTypes.cs (1)
549public Task<X509Certificate2> GetClientCertificateAsync(CancellationToken cancellationToken)
Microsoft.AspNetCore.Http.Microbenchmarks (1)
src\Http\Http.Extensions\test\RequestDelegateGenerator\SharedTypes.cs (1)
549public Task<X509Certificate2> GetClientCertificateAsync(CancellationToken cancellationToken)
Microsoft.AspNetCore.HttpOverrides (1)
CertificateForwardingFeature.cs (1)
31public Task<X509Certificate2?> GetClientCertificateAsync(CancellationToken cancellationToken)
Microsoft.AspNetCore.Owin (1)
OwinFeatureCollection.cs (1)
262async Task<X509Certificate2> ITlsConnectionFeature.GetClientCertificateAsync(CancellationToken cancellationToken)
Microsoft.AspNetCore.Server.HttpSys (1)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
350Task<X509Certificate2?> ITlsConnectionFeature.GetClientCertificateAsync(CancellationToken cancellationToken)
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpContext.FeatureCollection.cs (1)
377Task<X509Certificate2?> ITlsConnectionFeature.GetClientCertificateAsync(CancellationToken cancellationToken)
Microsoft.AspNetCore.Server.IISIntegration (1)
ForwardedTlsConnectionFeature.cs (1)
48public Task<X509Certificate2?> GetClientCertificateAsync(CancellationToken cancellationToken)
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\TlsConnectionFeature.cs (1)
69public Task<X509Certificate2?> GetClientCertificateAsync(CancellationToken cancellationToken)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
Internal\QuicConnectionContext.FeatureCollection.cs (1)
36public Task<X509Certificate2?> GetClientCertificateAsync(CancellationToken cancellationToken)
6 references to GetClientCertificateAsync
Kestrel.SampleApp (1)
ClientCertBufferingFeature.cs (1)
74return await _tlsFeature.GetClientCertificateAsync(cancellationToken);
Microsoft.AspNetCore.Http (1)
Internal\DefaultConnectionInfo.cs (1)
88return TlsConnectionFeature.GetClientCertificateAsync(cancellationToken);
Microsoft.AspNetCore.Owin (1)
OwinEnvironment.cs (1)
124feature => new Func<Task>(() => feature.GetClientCertificateAsync(CancellationToken.None))));
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
HttpsTests.cs (2)
84var cert = await tls.GetClientCertificateAsync(CancellationToken.None); 109var cert = await tls.GetClientCertificateAsync(CancellationToken.None);
Microsoft.AspNetCore.Server.Kestrel.Core (1)
TlsHandshakeCallbackContext.cs (1)
46/// The default is false. See <see cref="ITlsConnectionFeature.GetClientCertificateAsync"/>