pub struct ResolvesServerCertUsingSni { /* private fields */ }
Available on crate features
std
or hashbrown
only.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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 48 bytes