Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Field: Func<string, X509Certificate2> CertificateResolver

Declaration

Func<string, X509Certificate2> CertificateResolver

Summary

A function which returns a certificate based on a host name (SNI). The input is null if the client does not specify a host name in the TLS hello packet. If specified, this takes precendence over both HttpServerOptions.Certificates and HttpServerOptions.Certificate. Return null to fall back to HttpServerOptions.Certificates and HttpServerOptions.Certificate.