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