pub struct DefaultKeyResolver { /* private fields */ }Expand description
Configuration-driven resolver for embedded certificates, DER keys, and key names.
Implementations§
Source§impl DefaultKeyResolver
impl DefaultKeyResolver
Sourcepub fn new(config: KeyResolverConfig) -> Self
pub fn new(config: KeyResolverConfig) -> Self
Construct a resolver from explicit caller-owned key policy.
Sourcepub fn config(&self) -> &KeyResolverConfig
pub fn config(&self) -> &KeyResolverConfig
Borrow the active resolver configuration.
Trait Implementations§
Source§impl Clone for DefaultKeyResolver
impl Clone for DefaultKeyResolver
Source§fn clone(&self) -> DefaultKeyResolver
fn clone(&self) -> DefaultKeyResolver
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DefaultKeyResolver
impl Debug for DefaultKeyResolver
Source§impl Default for DefaultKeyResolver
impl Default for DefaultKeyResolver
Source§fn default() -> DefaultKeyResolver
fn default() -> DefaultKeyResolver
Returns the “default value” for a type. Read more
Source§impl KeyResolver for DefaultKeyResolver
impl KeyResolver for DefaultKeyResolver
Auto Trait Implementations§
impl Freeze for DefaultKeyResolver
impl RefUnwindSafe for DefaultKeyResolver
impl Send for DefaultKeyResolver
impl Sync for DefaultKeyResolver
impl Unpin for DefaultKeyResolver
impl UnsafeUnpin for DefaultKeyResolver
impl UnwindSafe for DefaultKeyResolver
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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