2 writes to SslProtocols
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\ConfigurationReader.cs (1)
110
SslProtocols
= ParseSslProcotols(endpointConfig.GetSection(SslProtocolsKey)),
TlsConfigurationLoader.cs (1)
59
endpoint.
SslProtocols
= configurationReader.EndpointDefaults.SslProtocols;
11 references to SslProtocols
Microsoft.AspNetCore.Server.Kestrel.Core (6)
Internal\ConfigurationReader.cs (4)
223
if (endpoint.
SslProtocols
.HasValue)
306
(
SslProtocols
?? System.Security.Authentication.SslProtocols.None) == (other.
SslProtocols
?? System.Security.Authentication.SslProtocols.None) &&
313
Protocols ?? ListenOptions.DefaultHttpProtocols,
SslProtocols
?? System.Security.Authentication.SslProtocols.None,
TlsConfigurationLoader.cs (2)
52
if (endpoint.
SslProtocols
.HasValue)
54
httpsOptions.SslProtocols = endpoint.
SslProtocols
.Value;
Microsoft.AspNetCore.Server.Kestrel.Tests (5)
ConfigurationReaderTests.cs (4)
233
Assert.Equal(SslProtocols.Tls11, endpoint.
SslProtocols
);
250
Assert.Equal(SslProtocols.Tls11 | SslProtocols.Tls12, endpoint.
SslProtocols
);
266
Assert.Equal(SslProtocols.Tls11, endpoint.
SslProtocols
);
280
Assert.Null(endpoint.
SslProtocols
);
KestrelConfigurationLoaderTests.cs (1)
869
Assert.Null(end1.EndpointConfig.
SslProtocols
);