#[non_exhaustive]pub enum ResponderTrust {
Unverified,
Verified {
trust: Box<Trust>,
name: Option<ServerName<'static>>,
},
}Expand description
How a joiner checks the responder’s certificate on the pairing connection.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unverified
Any certificate whose key the responder proves. Enough for a PIN, which authenticates
the responder; the device flow refuses it unless Pairing::allow_unverified.
Verified
Verified by trust (pins, a store, or roots for name) before anything is sent.
Implementations§
Trait Implementations§
Source§impl Clone for ResponderTrust
impl Clone for ResponderTrust
Auto Trait Implementations§
impl !RefUnwindSafe for ResponderTrust
impl !UnwindSafe for ResponderTrust
impl Freeze for ResponderTrust
impl Send for ResponderTrust
impl Sync for ResponderTrust
impl Unpin for ResponderTrust
impl UnsafeUnpin for ResponderTrust
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§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