5 writes to ServerCertificateSelectionCallback
InMemory.FunctionalTests (1)
HttpsTests.cs (1)
767authOptions.ServerCertificateSelectionCallback = null;
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\SniOptionsSelector.cs (1)
200ServerCertificateSelectionCallback = sslOptions.ServerCertificateSelectionCallback,
Middleware\HttpsConnectionMiddleware.cs (2)
337ServerCertificateSelectionCallback = selector, 550sslServerAuthenticationOptions.ServerCertificateSelectionCallback = (sender, host) =>
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
SniOptionsSelectorTests.cs (1)
856ServerCertificateSelectionCallback = (sender, serverName) => null,
14 references to ServerCertificateSelectionCallback
InMemory.FunctionalTests (1)
HttpsTests.cs (1)
765Assert.NotNull(authOptions.ServerCertificateSelectionCallback);
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\SniOptionsSelector.cs (1)
200ServerCertificateSelectionCallback = sslOptions.ServerCertificateSelectionCallback,
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (3)
SniOptionsSelectorTests.cs (3)
900Assert.Same(options.ServerCertificateSelectionCallback, clonedOptions.ServerCertificateSelectionCallback); 901Assert.True(propertyNames.Remove(nameof(options.ServerCertificateSelectionCallback)));
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (2)
Internal\QuicConnectionListener.cs (1)
108serverAuthenticationOptions.ServerCertificateSelectionCallback == null)
Internal\QuicLog.cs (1)
201$" {nameof(SslServerAuthenticationOptions.ServerCertificateContext)}, or {nameof(SslServerAuthenticationOptions.ServerCertificateSelectionCallback)}.", EventName = "ConnectionListenerCertificateNotSpecified")]
System.Net.Quic (3)
System\Net\Quic\Internal\MsQuicConfiguration.cs (3)
98if (authenticationOptions.ServerCertificateSelectionCallback is not null) 100certificate = authenticationOptions.ServerCertificateSelectionCallback.Invoke(authenticationOptions, targetHost); 114throw new ArgumentException(SR.Format(SR.net_quic_not_null_ceritifcate, nameof(SslServerAuthenticationOptions.ServerCertificate), nameof(SslServerAuthenticationOptions.ServerCertificateContext), nameof(SslServerAuthenticationOptions.ServerCertificateSelectionCallback)), nameof(options));
System.Net.Security (4)
System\Net\Security\SslAuthenticationOptions.cs (4)
78sslServerAuthenticationOptions.ServerCertificateSelectionCallback == null && 87sslServerAuthenticationOptions.ServerCertificateSelectionCallback != null) 139if (sslServerAuthenticationOptions.ServerCertificateSelectionCallback != null) 141ServerCertSelectionDelegate = sslServerAuthenticationOptions.ServerCertificateSelectionCallback;