44 references to None
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityUtils.cs (1)
88SslProtocols allValues = SslProtocols.None;
IIS.Tests (1)
TlsHandshakeFeatureTests.cs (1)
33Assert.True(protocol > SslProtocols.None, "Protocol: " + protocol);
InMemory.FunctionalTests (10)
HttpsConnectionMiddlewareTests.cs (3)
148Assert.True(tlsFeature.Protocol > SslProtocols.None, "Protocol"); 185Assert.True(tlsFeature.Protocol > SslProtocols.None, "Protocol"); 1395EnabledSslProtocols = SslProtocols.None,
HttpsTests.cs (6)
96enabledSslProtocols: SslProtocols.None, 258enabledSslProtocols: SslProtocols.None, 302enabledSslProtocols: SslProtocols.None, 333enabledSslProtocols: SslProtocols.None, 738enabledSslProtocols: SslProtocols.None, 777enabledSslProtocols: SslProtocols.None,
TestTransport\InMemoryHttpClientSlim.cs (1)
128enabledSslProtocols: SslProtocols.None,
Microsoft.AspNetCore.InternalTesting (1)
HttpClientSlim.cs (1)
161enabledSslProtocols: SslProtocols.None,
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
HttpsTests.cs (1)
165Assert.True(protocol > SslProtocols.None, "Protocol: " + protocol);
Microsoft.AspNetCore.Server.Kestrel.Core (8)
HttpsConnectionAdapterOptions.cs (1)
75/// Specifies allowable SSL protocols. Defaults to <see cref="SslProtocols.None" /> which allows the operating system to choose the best protocol to use,
Internal\ConfigurationReader.cs (7)
200return stringProtocols?.Aggregate(SslProtocols.None, (acc, current) => 306(SslProtocols ?? System.Security.Authentication.SslProtocols.None) == (other.SslProtocols ?? System.Security.Authentication.SslProtocols.None) && 313Protocols ?? ListenOptions.DefaultHttpProtocols, SslProtocols ?? System.Security.Authentication.SslProtocols.None, 348(SslProtocols ?? System.Security.Authentication.SslProtocols.None) == (other.SslProtocols ?? System.Security.Authentication.SslProtocols.None) && 353Protocols ?? ListenOptions.DefaultHttpProtocols, SslProtocols ?? System.Security.Authentication.SslProtocols.None,
Microsoft.AspNetCore.Server.Kestrel.Tests (2)
KestrelConfigurationLoaderTests.cs (2)
1179Assert.Equal(SslProtocols.None, opt.SslProtocols); 1204Assert.Equal(SslProtocols.None, httpsOptions.SslProtocols);
Sockets.FunctionalTests (1)
src\Servers\Kestrel\test\FunctionalTests\ResponseTests.cs (1)
698await sslStream.AuthenticateAsClientAsync("localhost", new X509CertificateCollection(), SslProtocols.None, false);
System.Net.Http (2)
src\libraries\Common\src\System\Net\SecurityProtocol.cs (1)
18public const SslProtocols SystemDefaultSecurityProtocols = SslProtocols.None;
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (1)
285if (s_isWindows7Or2008R2 && sslOptions.EnabledSslProtocols == SslProtocols.None)
System.Net.Mail (1)
src\libraries\Common\src\System\Net\SecurityProtocol.cs (1)
18public const SslProtocols SystemDefaultSecurityProtocols = SslProtocols.None;
System.Net.Requests (1)
src\libraries\Common\src\System\Net\SecurityProtocol.cs (1)
18public const SslProtocols SystemDefaultSecurityProtocols = SslProtocols.None;
System.Net.Security (12)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (3)
110if (protocols != SslProtocols.None && 119if (protocols == SslProtocols.None) 175SslProtocols serverCacheKey = protocols | (hasAlpn ? FakeAlpnSslProtocol : SslProtocols.None);
src\libraries\Common\src\System\Net\SecurityProtocol.cs (1)
18public const SslProtocols SystemDefaultSecurityProtocols = SslProtocols.None;
System\Net\Security\CipherSuitesPolicyPal.Linux.cs (1)
122=> protocols == SslProtocols.None || (protocols & SslProtocols.Tls13) != 0;
System\Net\Security\NetSecurityTelemetry.cs (1)
171HandshakeStop(SslProtocols.None);
System\Net\Security\SslAuthenticationOptions.cs (1)
155if ((protocols & (SslProtocols.Tls12 | SslProtocols.Tls13)) != SslProtocols.None)
System\Net\Security\SslConnectionInfo.Linux.cs (1)
104return SslProtocols.None;
System\Net\Security\SslStream.cs (2)
495return SslProtocols.None; 499SslProtocols ret = SslProtocols.None;
System\Net\Security\TlsFrameHelper.cs (2)
646protocols = SslProtocols.None; 745_ => SslProtocols.None,
System.ServiceModel.NetFramingBase (1)
System\ServiceModel\Channels\SslProtocolsHelper.cs (1)
13SslProtocols allValues = SslProtocols.None;
System.ServiceModel.NetTcp (1)
System\ServiceModel\Channels\SslProtocolsHelper.cs (1)
13SslProtocols allValues = SslProtocols.None;
System.ServiceModel.UnixDomainSocket (1)
System\ServiceModel\Channels\SslProtocolsHelper.cs (1)
13SslProtocols allValues = SslProtocols.None;