25 references to Tls13
Aspire.Hosting.Yarp (1)
ConfigurationBuilder\YarpCluster.cs (1)
351YarpSslProtocol.Tls13 => SslProtocols.Tls13,
Aspire.Hosting.Yarp.Tests (1)
YarpConfigGeneratorTests.cs (1)
173SslProtocols = SslProtocols.Tls13 | SslProtocols.Tls12,
Aspire.RabbitMQ.Client.Tests (1)
AspireRabbitMQExtensionsTests.cs (1)
156Assert.Equal(SslProtocols.Tls13, connectionFactory.Ssl.Version);
Aspire.RabbitMQ.Client.v6.Tests (1)
tests\Aspire.RabbitMQ.Client.Tests\AspireRabbitMQExtensionsTests.cs (1)
156Assert.Equal(SslProtocols.Tls13, connectionFactory.Ssl.Version);
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Infrastructure\KestrelMetrics.cs (1)
370case SslProtocols.Tls13:
System.Net.Quic (2)
System\Net\Quic\QuicConnection.cs (1)
634Debug.Assert(_negotiatedSslProtocol == SslProtocols.Tls13, $"Unexpected TLS version {info.TlsProtocolVersion}");
System\Net\Quic\QuicListener.cs (1)
346SslClientHelloInfo clientHello = new SslClientHelloInfo(data.Info->ServerNameLength > 0 ? Encoding.UTF8.GetString((byte*)data.Info->ServerName, data.Info->ServerNameLength) : "", SslProtocols.Tls13);
System.Net.Requests (1)
System\Net\ServicePoint\SecurityProtocolType.cs (1)
21Tls13 = SslProtocols.Tls13,
System.Net.Security (17)
src\runtime\src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (2)
145protocols &= ~SslProtocols.Tls13; 177protocols = SslProtocols.Tls13;
System\Net\Security\CipherSuitesPolicyPal.Linux.cs (2)
121=> protocols == SslProtocols.Tls13; 124=> 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)
179if ((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)
535if ((proto & SslProtocols.Tls13) != 0) 537ret |= SslProtocols.Tls13;
System\Net\Security\SslStream.IO.cs (2)
512if (_isRenego && SslProtocol != SslProtocols.Tls13) 885if (_sslAuthenticationOptions.AllowRenegotiation || SslProtocol == SslProtocols.Tls13 || _nestedAuth != NestedState.StreamNotInUse)
System\Net\Security\TlsFrameHelper.cs (3)
319SslProtocols.Tls13 => s_protocolMismatch13, 345case SslProtocols.Tls13: 7544 => SslProtocols.Tls13,