14 writes to SslProtocols
InMemory.FunctionalTests (5)
Http2\TlsTests.cs (1)
56httpsOptions.SslProtocols = SslProtocols.Tls11 | SslProtocols.Tls12;
HttpsConnectionMiddlewareTests.cs (1)
1133options.SslProtocols = SslProtocols.Tls12 | SslProtocols.Tls11;
HttpsTests.cs (1)
689httpsOptions.SslProtocols = SslProtocols.Tls12 | SslProtocols.Tls11;
KestrelMetricsTests.cs (2)
695options.SslProtocols = SslProtocols.Tls12; 863options.SslProtocols = SslProtocols.Tls12;
Interop.FunctionalTests (1)
Http2\Http2RequestTests.cs (1)
111https.SslProtocols = SslProtocols.Tls12;
Kestrel.SampleApp (2)
Startup.cs (2)
89httpsOptions.SslProtocols = SslProtocols.Tls12; 161opt.HttpsOptions.SslProtocols = SslProtocols.Tls12;
Microsoft.AspNetCore.Server.Kestrel.Core (2)
KestrelConfigurationLoader.cs (1)
255httpsOptions.SslProtocols = defaults.SslProtocols.Value;
TlsConfigurationLoader.cs (1)
54httpsOptions.SslProtocols = endpoint.SslProtocols.Value;
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
SniOptionsSelectorTests.cs (2)
694SslProtocols = SslProtocols.Tls13 725SslProtocols = SslProtocols.Tls13
Microsoft.AspNetCore.Server.Kestrel.Tests (2)
KestrelConfigurationLoaderTests.cs (2)
1222opt.SslProtocols = SslProtocols.Tls12; 1285opt.SslProtocols = SslProtocols.Tls12;
9 references to SslProtocols
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\SniOptionsSelector.cs (1)
53EnabledSslProtocols = sniConfig.SslProtocols ?? fallbackHttpsOptions.SslProtocols,
Middleware\HttpsConnectionMiddleware.cs (1)
343EnabledSslProtocols = _options.SslProtocols,
Microsoft.AspNetCore.Server.Kestrel.Tests (7)
KestrelConfigurationLoaderTests.cs (7)
1179Assert.Equal(SslProtocols.None, opt.SslProtocols); 1194Assert.Equal(SslProtocols.Tls11, opt.HttpsOptions.SslProtocols); 1204Assert.Equal(SslProtocols.None, httpsOptions.SslProtocols); 1235Assert.Equal(SslProtocols.Tls11, opt.HttpsOptions.SslProtocols); 1264Assert.Equal(SslProtocols.Tls11, opt.HttpsOptions.SslProtocols); 1283Assert.Equal(SslProtocols.Tls11, opt.SslProtocols); 1297Assert.Equal(SslProtocols.Tls12, opt.HttpsOptions.SslProtocols);