[][src]Trait rustls::ResolvesServerCert

pub trait ResolvesServerCert: Send + Sync {
    pub fn resolve(&self, client_hello: ClientHello<'_>) -> Option<CertifiedKey>;
}

How to choose a certificate chain and signing key for use in server authentication.

Required methods

pub fn resolve(&self, client_hello: ClientHello<'_>) -> Option<CertifiedKey>[src]

Choose a certificate chain and matching key given simplified ClientHello information.

Return None to abort the handshake.

Loading content...

Implementors

impl ResolvesServerCert for ResolvesServerCertUsingSNI[src]

Loading content...