pub struct DynCertResolver { /* private fields */ }Expand description
Thread-safe certificate store that resolves certs by SNI hostname.
New certs can be added at runtime without restarting the TLS listener.
Implementations§
Trait Implementations§
Source§impl Clone for DynCertResolver
impl Clone for DynCertResolver
Source§fn clone(&self) -> DynCertResolver
fn clone(&self) -> DynCertResolver
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DynCertResolver
impl Debug for DynCertResolver
Source§impl Default for DynCertResolver
impl Default for DynCertResolver
Source§fn default() -> DynCertResolver
fn default() -> DynCertResolver
Returns the “default value” for a type. Read more
Source§impl ResolvesServerCert for DynCertResolver
impl ResolvesServerCert for DynCertResolver
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 DynCertResolver
impl RefUnwindSafe for DynCertResolver
impl Send for DynCertResolver
impl Sync for DynCertResolver
impl Unpin for DynCertResolver
impl UnsafeUnpin for DynCertResolver
impl UnwindSafe for DynCertResolver
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