15 references to SslStream
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (1)
351SslStream sslStream = new SslStream(stream, false, this.ValidateRemoteCertificate);
InMemory.FunctionalTests (9)
HttpsConnectionMiddlewareTests.cs (1)
1502return new SslStream(rawStream, false, (sender, certificate, chain, errors) => true);
HttpsTests.cs (7)
92using (var sslStream = new SslStream(connection.Stream, true, (sender, certificate, chain, errors) => true)) 255using (var sslStream = new SslStream(connection.Stream, true, (sender, certificate, chain, errors) => true)) 299using (var sslStream = new SslStream(connection.Stream, true, (sender, certificate, chain, errors) => true)) 330using (var sslStream = new SslStream(connection.Stream, true, (sender, certificate, chain, errors) => true)) 694using (var sslStream = new SslStream(connection.Stream, true, (sender, certificate, chain, errors) => true)) 735using (var sslStream = new SslStream(connection.Stream, true, (sender, certificate, chain, errors) => true)) 774using (var sslStream = new SslStream(connection.Stream, true, (sender, certificate, chain, errors) => true))
TestTransport\InMemoryHttpClientSlim.cs (1)
124var sslStream = new SslStream(rawStream, leaveInnerStreamOpen: false, userCertificateValidationCallback:
Microsoft.AspNetCore.InternalTesting (1)
HttpClientSlim.cs (1)
161var sslStream = new SslStream(stream, leaveInnerStreamOpen: false, userCertificateValidationCallback:
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Middleware\HttpsConnectionMiddleware.cs (1)
114_sslStreamFactory = s => new SslStream(s, leaveInnerStreamOpen: false, userCertificateValidationCallback: remoteCertificateValidationCallback);
System.Net.HttpListener (1)
System\Net\Managed\HttpListener.Certificates.cs (1)
16return new SslStream(innerStream, ownsStream, callback);
System.Net.Mail (1)
src\libraries\Common\src\System\Net\TlsStream.cs (1)
21_sslStream = new SslStream(stream, false, ServicePointManager.ServerCertificateValidationCallback);
System.Net.Requests (1)
src\libraries\Common\src\System\Net\TlsStream.cs (1)
21_sslStream = new SslStream(stream, false, ServicePointManager.ServerCertificateValidationCallback);