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 Debug for ResolvesServerCertUsingSni
impl Debug for ResolvesServerCertUsingSni
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
source§fn only_raw_public_keys(&self) -> bool
fn only_raw_public_keys(&self) -> bool
Return true when the server only supports raw public keys.
Auto Trait Implementations§
impl Freeze for ResolvesServerCertUsingSni
impl !RefUnwindSafe for ResolvesServerCertUsingSni
impl Send for ResolvesServerCertUsingSni
impl Sync for ResolvesServerCertUsingSni
impl Unpin for ResolvesServerCertUsingSni
impl !UnwindSafe for ResolvesServerCertUsingSni
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more