Struct rustls::server::ResolvesServerCertUsingSni
source · pub struct ResolvesServerCertUsingSni { /* private fields */ }
Expand description
Something that resolves do different cert chains/keys based on client-supplied server name (via SNI).
Implementations§
Trait Implementations§
source§impl ResolvesServerCert for ResolvesServerCertUsingSni
impl ResolvesServerCert for ResolvesServerCertUsingSni
source§fn resolve(&self, client_hello: ClientHello<'_>) -> Option<Arc<CertifiedKey>>
fn resolve(&self, client_hello: ClientHello<'_>) -> Option<Arc<CertifiedKey>>
Choose a certificate chain and matching key given simplified
ClientHello information. Read more