17 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)
1506return 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)
157var 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 (2)
System\Net\Mail\SmtpConnection.cs (2)
236SslStream sslStream = new SslStream(_stream!, false, ServicePointManager.ServerCertificateValidationCallback); 700_connection._stream = new SslStream(_connection._stream!, false, ServicePointManager.ServerCertificateValidationCallback);
System.Net.Requests (2)
System\Net\FtpControlStream.cs (2)
189SslStream sslStream = new SslStream(_dataStream, false, ServicePointManager.ServerCertificateValidationCallback); 397SslStream sslStream = new SslStream(Stream, false, ServicePointManager.ServerCertificateValidationCallback);