Trait rustls::ResolvesServerCert
source · [−]pub trait ResolvesServerCert: Send + Sync {
fn resolve(&self, client_hello: ClientHello<'_>) -> Option<CertifiedKey>;
}
Expand description
How to choose a certificate chain and signing key for use in server authentication.
Required Methods
sourcefn resolve(&self, client_hello: ClientHello<'_>) -> Option<CertifiedKey>
fn resolve(&self, client_hello: ClientHello<'_>) -> Option<CertifiedKey>
Choose a certificate chain and matching key given simplified ClientHello information.
Return None
to abort the handshake.