Struct rustls::server::handy::ResolvesServerCertUsingSni
source · pub struct ResolvesServerCertUsingSni {
by_name: HashMap<String, Arc<CertifiedKey>>,
}
Expand description
Something that resolves do different cert chains/keys based on client-supplied server name (via SNI).
Fields§
§by_name: HashMap<String, Arc<CertifiedKey>>
Implementations§
Trait Implementations§
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
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