Trait holochain::prelude::dependencies::kitsune_p2p_types::dependencies::rustls::server::ResolvesServerCert
pub trait ResolvesServerCert: Send + Sync {
// Required method
fn resolve(
&self,
client_hello: ClientHello<'_>
) -> Option<Arc<CertifiedKey, Global>>;
}
Expand description
How to choose a certificate chain and signing key for use in server authentication.
Required Methods§
fn resolve(
&self,
client_hello: ClientHello<'_>
) -> Option<Arc<CertifiedKey, Global>>
fn resolve( &self, client_hello: ClientHello<'_> ) -> Option<Arc<CertifiedKey, Global>>
Choose a certificate chain and matching key given simplified ClientHello information.
Return None
to abort the handshake.