16 references to AuthenticateAsClientAsync
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (1)
601await sslStream.AuthenticateAsClientAsync(string.Empty, clientCertificates, _parent.SslProtocols, false);
InMemory.FunctionalTests (11)
HttpsConnectionMiddlewareTests.cs (3)
425stream.AuthenticateAsClientAsync("localhost", new X509CertificateCollection(), SslProtocols.Tls12 | SslProtocols.Tls11, false)); 487stream.AuthenticateAsClientAsync("localhost", new X509CertificateCollection(), SslProtocols.Tls12 | SslProtocols.Tls11, false)); 1151async () => await stream.AuthenticateAsClientAsync("localhost", new X509CertificateCollection(), SslProtocols.Tls, false));
HttpsTests.cs (7)
95sslStream.AuthenticateAsClientAsync("127.0.0.1", clientCertificates: null, 257await sslStream.AuthenticateAsClientAsync("127.0.0.1", clientCertificates: null, 301await sslStream.AuthenticateAsClientAsync("127.0.0.1", clientCertificates: null, 332await sslStream.AuthenticateAsClientAsync("127.0.0.1", clientCertificates: null, 698sslStream.AuthenticateAsClientAsync("127.0.0.1", clientCertificates: null, 737await sslStream.AuthenticateAsClientAsync("127.0.0.1", clientCertificates: null, 776await sslStream.AuthenticateAsClientAsync("127.0.0.1", clientCertificates: null,
TestTransport\InMemoryHttpClientSlim.cs (1)
127await sslStream.AuthenticateAsClientAsync(requestUri.Host, clientCertificates: null,
Microsoft.AspNetCore.InternalTesting (1)
HttpClientSlim.cs (1)
160await sslStream.AuthenticateAsClientAsync(requestUri.Host, clientCertificates: null,
Sockets.FunctionalTests (1)
src\Servers\Kestrel\test\FunctionalTests\ResponseTests.cs (1)
698await sslStream.AuthenticateAsClientAsync("localhost", new X509CertificateCollection(), SslProtocols.None, false);
System.Net.Security (1)
System\Net\Security\SslStream.cs (1)
378public virtual Task AuthenticateAsClientAsync(string targetHost, X509CertificateCollection? clientCertificates, bool checkCertificateRevocation) => AuthenticateAsClientAsync(targetHost, clientCertificates, SecurityProtocol.SystemDefaultSecurityProtocols, checkCertificateRevocation);
System.ServiceModel.NetFramingBase (1)
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (1)
370await sslStream.AuthenticateAsClientAsync(string.Empty, clientCertificates, _parent.SslProtocols, false);