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