12 writes to ServerCertificateSelector
Http3SampleApp (1)
Program.cs (1)
64httpsOptions.ServerCertificateSelector = (context, host) => cert;
InMemory.FunctionalTests (8)
HttpsConnectionMiddlewareTests.cs (6)
135ServerCertificateSelector = (connection, name) => 304ServerCertificateSelector = (connection, name) => 368ServerCertificateSelector = (connection, name) => 410ServerCertificateSelector = (features, name) => 441ServerCertificateSelector = (connection, name) => 472ServerCertificateSelector = (features, name) =>
HttpsTests.cs (2)
143options.ServerCertificateSelector = (features, name) => 761httpsOptions.ServerCertificateSelector = (_, __) => throw new NotImplementedException();
Interop.FunctionalTests (1)
Http3\Http3TlsTests.cs (1)
40httpsOptions.ServerCertificateSelector = (context, host) =>
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
SniOptionsSelectorTests.cs (2)
475ServerCertificateSelector = (context, serverName) => selectorCertificate 562ServerCertificateSelector = (context, serverName) => selectorCertificate
7 references to ServerCertificateSelector
InMemory.FunctionalTests (2)
HttpsTests.cs (2)
142Assert.Null(options.ServerCertificateSelector); 155Assert.NotNull(opt.ServerCertificateSelector);
Microsoft.AspNetCore.Server.Kestrel.Core (5)
HttpsConnectionAdapterOptions.cs (1)
61internal bool HasServerCertificateOrSelector => ServerCertificate is not null || ServerCertificateSelector is not null;
Internal\SniOptionsSelector.cs (1)
43_fallbackServerCertificateSelector = fallbackHttpsOptions.ServerCertificateSelector;
Middleware\HttpsConnectionMiddleware.cs (3)
83_serverCertificateSelector = options.ServerCertificateSelector; 549if (httpsOptions.ServerCertificateSelector != null) 556var cert = httpsOptions.ServerCertificateSelector(null, host);