55 references to Tls12
Aspire.RabbitMQ.Client.Tests (1)
AspireRabbitMQExtensionsTests.cs (1)
151
Assert.Equal(SslProtocols.
Tls12
, connectionFactory.AmqpUriSslProtocols);
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportDefaults.cs (1)
172
System.Security.Authentication.SslProtocols.
Tls12
;
http2cat (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
101
EnabledSslProtocols = SslProtocols.
Tls12
,
IIS.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
101
EnabledSslProtocols = SslProtocols.
Tls12
,
IIS.LongTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
101
EnabledSslProtocols = SslProtocols.
Tls12
,
IIS.NewHandler.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
101
EnabledSslProtocols = SslProtocols.
Tls12
,
IIS.NewShim.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
101
EnabledSslProtocols = SslProtocols.
Tls12
,
IISExpress.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
101
EnabledSslProtocols = SslProtocols.
Tls12
,
InMemory.FunctionalTests (9)
Http2\Http2ConnectionTests.cs (1)
5873
tlsHandshakeMock.SetupGet(m => m.Protocol).Returns(SslProtocols.
Tls12
);
Http2\TlsTests.cs (1)
56
httpsOptions.SslProtocols = SslProtocols.Tls11 | SslProtocols.
Tls12
;
HttpsConnectionMiddlewareTests.cs (4)
425
stream.AuthenticateAsClientAsync("localhost", new X509CertificateCollection(), SslProtocols.
Tls12
| SslProtocols.Tls11, false));
487
stream.AuthenticateAsClientAsync("localhost", new X509CertificateCollection(), SslProtocols.
Tls12
| SslProtocols.Tls11, false));
789
EnabledSslProtocols = SslProtocols.Tls | SslProtocols.Tls11 | SslProtocols.
Tls12
,
1133
options.SslProtocols = SslProtocols.
Tls12
| SslProtocols.Tls11;
HttpsTests.cs (1)
689
httpsOptions.SslProtocols = SslProtocols.
Tls12
| SslProtocols.Tls11;
KestrelMetricsTests.cs (2)
697
options.SslProtocols = SslProtocols.
Tls12
;
865
options.SslProtocols = SslProtocols.
Tls12
;
Interop.FunctionalTests (1)
Http2\Http2RequestTests.cs (1)
111
https.SslProtocols = SslProtocols.
Tls12
;
Kestrel.SampleApp (2)
Startup.cs (2)
89
httpsOptions.SslProtocols = SslProtocols.
Tls12
;
161
opt.HttpsOptions.SslProtocols = SslProtocols.
Tls12
;
Microsoft.AspNetCore.Server.HttpSys (2)
src\Shared\HttpSys\RequestProcessing\NativeRequestContext.cs (2)
408
if ((protocol & (uint)SslProtocols.
Tls12
) != 0)
410
protocol |= (uint)SslProtocols.
Tls12
;
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
101
EnabledSslProtocols = SslProtocols.
Tls12
,
Microsoft.AspNetCore.Server.IIS (2)
src\Shared\HttpSys\RequestProcessing\NativeRequestContext.cs (2)
408
if ((protocol & (uint)SslProtocols.
Tls12
) != 0)
410
protocol |= (uint)SslProtocols.
Tls12
;
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\Http2\Http2Connection.cs (1)
511
if (tlsFeature.Protocol < SslProtocols.
Tls12
)
Internal\Infrastructure\KestrelMetrics.cs (1)
403
case SslProtocols.
Tls12
:
Microsoft.AspNetCore.Server.Kestrel.Tests (5)
ConfigurationReaderTests.cs (2)
250
Assert.Equal(SslProtocols.Tls11 | SslProtocols.
Tls12
, endpoint.SslProtocols);
333
Assert.Equal(SslProtocols.
Tls12
, config.SslProtocols);
KestrelConfigurationLoaderTests.cs (3)
1222
opt.SslProtocols = SslProtocols.
Tls12
;
1285
opt.SslProtocols = SslProtocols.
Tls12
;
1297
Assert.Equal(SslProtocols.
Tls12
, opt.HttpsOptions.SslProtocols);
Microsoft.AspNetCore.Shared.Tests (2)
src\Shared\HttpSys\RequestProcessing\NativeRequestContext.cs (2)
408
if ((protocol & (uint)SslProtocols.
Tls12
) != 0)
410
protocol |= (uint)SslProtocols.
Tls12
;
Microsoft.AspNetCore.WebSockets.ConformanceTests (1)
Autobahn\AutobahnTester.cs (1)
155
handler.SslProtocols = SslProtocols.
Tls12
| SslProtocols.Tls11 | SslProtocols.Tls;
System.Net.Http (2)
src\libraries\Common\src\System\Net\SecurityProtocol.cs (1)
15
SslProtocols.Tls | SslProtocols.Tls11 | SslProtocols.
Tls12
;
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http2.cs (1)
198
if (sslStream.SslProtocol < SslProtocols.
Tls12
)
System.Net.Mail (1)
src\libraries\Common\src\System\Net\SecurityProtocol.cs (1)
15
SslProtocols.Tls | SslProtocols.Tls11 | SslProtocols.
Tls12
;
System.Net.Requests (2)
src\libraries\Common\src\System\Net\SecurityProtocol.cs (1)
15
SslProtocols.Tls | SslProtocols.Tls11 | SslProtocols.
Tls12
;
System\Net\ServicePoint\SecurityProtocolType.cs (1)
20
Tls12 = SslProtocols.
Tls12
,
System.Net.Security (11)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (1)
125
protocols = SslProtocols.Tls | SslProtocols.Tls11 | SslProtocols.
Tls12
;
src\libraries\Common\src\System\Net\SecurityProtocol.cs (1)
15
SslProtocols.Tls | SslProtocols.Tls11 | SslProtocols.
Tls12
;
System\Net\Security\NetSecurityTelemetry.cs (3)
199
case SslProtocols.
Tls12
:
240
case SslProtocols.
Tls12
:
359
SslProtocols.
Tls12
=> ("tls", "1.2"),
System\Net\Security\SslAuthenticationOptions.cs (1)
155
if ((protocols & (SslProtocols.
Tls12
| SslProtocols.Tls13)) != SslProtocols.None)
System\Net\Security\SslConnectionInfo.Linux.cs (1)
79
case (byte)'2': return SslProtocols.
Tls12
;
System\Net\Security\SslStream.cs (2)
526
if ((proto & SslProtocols.
Tls12
) != 0)
528
ret |= SslProtocols.
Tls12
;
System\Net\Security\TlsFrameHelper.cs (2)
321
SslProtocols.
Tls12
=> s_protocolMismatch12,
737
3 => SslProtocols.
Tls12
,
System.ServiceModel.NetFramingBase (1)
System\ServiceModel\Channels\TransportDefaults.cs (1)
20
SSAuth.SslProtocols.
Tls12
;
System.ServiceModel.NetTcp (1)
System\ServiceModel\Channels\TransportDefaults.cs (1)
26
SSAuth.SslProtocols.
Tls12
;
System.ServiceModel.Primitives (1)
System\ServiceModel\Channels\TransportDefaults.cs (1)
173
System.Security.Authentication.SslProtocols.
Tls12
;
System.ServiceModel.UnixDomainSocket (1)
System\ServiceModel\Channels\TransportDefaults.cs (1)
26
SSAuth.SslProtocols.
Tls12
;