42 references to Tls13
Aspire.RabbitMQ.Client.Tests (1)
AspireRabbitMQExtensionsTests.cs (1)
156Assert.Equal(SslProtocols.Tls13, connectionFactory.Ssl.Version);
Microsoft.AspNetCore.Server.HttpSys (2)
src\Shared\HttpSys\RequestProcessing\NativeRequestContext.cs (2)
412if ((protocol & (uint)SslProtocols.Tls13) != 0) 414protocol |= (uint)SslProtocols.Tls13;
Microsoft.AspNetCore.Server.IIS (2)
src\Shared\HttpSys\RequestProcessing\NativeRequestContext.cs (2)
412if ((protocol & (uint)SslProtocols.Tls13) != 0) 414protocol |= (uint)SslProtocols.Tls13;
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Infrastructure\KestrelMetrics.cs (1)
407case SslProtocols.Tls13:
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (6)
SniOptionsSelectorTests.cs (6)
681SslProtocols = SslProtocols.Tls13 | SslProtocols.Tls11, 694SslProtocols = SslProtocols.Tls13 701Assert.Equal(SslProtocols.Tls13 | SslProtocols.Tls11, options.EnabledSslProtocols); 725SslProtocols = SslProtocols.Tls13 731Assert.Equal(SslProtocols.Tls13, options.EnabledSslProtocols); 843EnabledSslProtocols = SslProtocols.Tls13 | SslProtocols.Tls11,
Microsoft.AspNetCore.Server.Kestrel.Tests (4)
KestrelConfigurationLoaderTests.cs (4)
799new KeyValuePair<string, string>("Endpoints:End1:SslProtocols:0", SslProtocols.Tls13.ToString()), 836new KeyValuePair<string, string>("EndpointDefaults:SslProtocols:0", SslProtocols.Tls13.ToString()), 1360new KeyValuePair<string, string>("Endpoints:End1:Sni:*.example.org:SslProtocols:0", SslProtocols.Tls13.ToString()), 1372Assert.Equal(SslProtocols.Tls13, sniConfig.SslProtocols);
Microsoft.AspNetCore.Shared.Tests (2)
src\Shared\HttpSys\RequestProcessing\NativeRequestContext.cs (2)
412if ((protocol & (uint)SslProtocols.Tls13) != 0) 414protocol |= (uint)SslProtocols.Tls13;
System.Net.Http (1)
src\libraries\Common\src\System\Net\SecurityProtocol.cs (1)
12SslProtocols.Tls13 |
System.Net.Mail (1)
src\libraries\Common\src\System\Net\SecurityProtocol.cs (1)
12SslProtocols.Tls13 |
System.Net.Quic (2)
System\Net\Quic\QuicConnection.cs (1)
639Debug.Assert(_negotiatedSslProtocol == SslProtocols.Tls13, $"Unexpected TLS version {info.TlsProtocolVersion}");
System\Net\Quic\QuicListener.cs (1)
344SslClientHelloInfo clientHello = new SslClientHelloInfo(data.Info->ServerNameLength > 0 ? Marshal.PtrToStringUTF8((IntPtr)data.Info->ServerName, data.Info->ServerNameLength) : "", SslProtocols.Tls13);
System.Net.Requests (2)
src\libraries\Common\src\System\Net\SecurityProtocol.cs (1)
12SslProtocols.Tls13 |
System\Net\ServicePoint\SecurityProtocolType.cs (1)
21Tls13 = SslProtocols.Tls13,
System.Net.Security (18)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (2)
113protocols &= ~SslProtocols.Tls13; 145protocols = SslProtocols.Tls13;
src\libraries\Common\src\System\Net\SecurityProtocol.cs (1)
12SslProtocols.Tls13 |
System\Net\Security\CipherSuitesPolicyPal.Linux.cs (2)
119=> protocols == SslProtocols.Tls13; 122=> protocols == SslProtocols.None || (protocols & SslProtocols.Tls13) != 0;
System\Net\Security\NetSecurityTelemetry.cs (4)
183Debug.Assert(Enum.GetValues<SslProtocols>()[^1] == SslProtocols.Tls13, "Make sure to add a counter for new SslProtocols"); 204case SslProtocols.Tls13: 244case SslProtocols.Tls13: 361SslProtocols.Tls13 => ("tls", "1.3"),
System\Net\Security\SslAuthenticationOptions.cs (1)
155if ((protocols & (SslProtocols.Tls12 | SslProtocols.Tls13)) != SslProtocols.None)
System\Net\Security\SslConnectionInfo.Linux.cs (1)
80case (byte)'3': return SslProtocols.Tls13;
System\Net\Security\SslStream.cs (2)
531if ((proto & SslProtocols.Tls13) != 0) 533ret |= SslProtocols.Tls13;
System\Net\Security\SslStream.IO.cs (2)
476if (_isRenego && SslProtocol != SslProtocols.Tls13) 805if (_sslAuthenticationOptions.AllowRenegotiation || SslProtocol == SslProtocols.Tls13 || _nestedAuth != NestedState.StreamNotInUse)
System\Net\Security\TlsFrameHelper.cs (3)
320SslProtocols.Tls13 => s_protocolMismatch13, 346case SslProtocols.Tls13: 7364 => SslProtocols.Tls13,