17 references to SslStream
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (1)
351
SslStream sslStream = new
SslStream
(stream, false, this.ValidateRemoteCertificate);
InMemory.FunctionalTests (9)
HttpsConnectionMiddlewareTests.cs (1)
1502
return new
SslStream
(rawStream, false, (sender, certificate, chain, errors) => true);
HttpsTests.cs (7)
92
using (var sslStream = new
SslStream
(connection.Stream, true, (sender, certificate, chain, errors) => true))
255
using (var sslStream = new
SslStream
(connection.Stream, true, (sender, certificate, chain, errors) => true))
299
using (var sslStream = new
SslStream
(connection.Stream, true, (sender, certificate, chain, errors) => true))
330
using (var sslStream = new
SslStream
(connection.Stream, true, (sender, certificate, chain, errors) => true))
694
using (var sslStream = new
SslStream
(connection.Stream, true, (sender, certificate, chain, errors) => true))
735
using (var sslStream = new
SslStream
(connection.Stream, true, (sender, certificate, chain, errors) => true))
774
using (var sslStream = new
SslStream
(connection.Stream, true, (sender, certificate, chain, errors) => true))
TestTransport\InMemoryHttpClientSlim.cs (1)
124
var sslStream = new
SslStream
(rawStream, leaveInnerStreamOpen: false, userCertificateValidationCallback:
Microsoft.AspNetCore.InternalTesting (1)
HttpClientSlim.cs (1)
157
var 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)
16
return new
SslStream
(innerStream, ownsStream, callback);
System.Net.Mail (2)
System\Net\Mail\SmtpConnection.cs (2)
236
SslStream 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)
189
SslStream sslStream = new
SslStream
(_dataStream, false, ServicePointManager.ServerCertificateValidationCallback);
397
SslStream sslStream = new
SslStream
(Stream, false, ServicePointManager.ServerCertificateValidationCallback);