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