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
sourceimpl ResolvesServerCert for ResolvesServerCertUsingSni
impl ResolvesServerCert for ResolvesServerCertUsingSni
sourcefn 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
Auto Trait Implementations
impl !RefUnwindSafe for ResolvesServerCertUsingSni
impl Send for ResolvesServerCertUsingSni
impl Sync for ResolvesServerCertUsingSni
impl Unpin for ResolvesServerCertUsingSni
impl !UnwindSafe for ResolvesServerCertUsingSni
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more