6 references to ServerCertificateSelector
Microsoft.AspNetCore.Server.Kestrel.Core (3)
DirectTlsEndpoint.cs (1)
18
/// <see cref="DirectTlsEndpointOptions.
ServerCertificateSelector
"/>).
DirectTlsEndpointOptions.cs (2)
20
/// (either <see cref="ServerCertificate"/> or <see cref="
ServerCertificateSelector
"/>) is required.
27
/// <see cref="
ServerCertificateSelector
"/> is not set or returns <see langword="null"/>.
Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls (3)
DirectTlsTransportFactory.cs (3)
73
if (endpointOptions.ServerCertificate is null && endpointOptions.
ServerCertificateSelector
is null)
78
$"{nameof(DirectTlsEndpointOptions.
ServerCertificateSelector
)} on the endpoint options.");
112
var certificate = endpointOptions.
ServerCertificateSelector
?.Invoke(connection, hostName)