pub enum AuthenticationResult {
Core(AuthenticationResult),
Raw(RawAuthenticationResult),
}Expand description
Verification authority: Core verifies supported typed keys; the bounded raw verifier verifies original COSE facts without manufacturing a Core result.
Variants§
Core(AuthenticationResult)
Raw(RawAuthenticationResult)
Implementations§
Source§impl AuthenticationResult
impl AuthenticationResult
pub fn cred_id(&self) -> &CredentialID
pub fn counter(&self) -> u32
pub fn user_verified(&self) -> bool
pub fn backup_eligible(&self) -> bool
pub fn backup_state(&self) -> bool
Trait Implementations§
Source§impl Clone for AuthenticationResult
impl Clone for AuthenticationResult
Auto Trait Implementations§
impl Freeze for AuthenticationResult
impl RefUnwindSafe for AuthenticationResult
impl Send for AuthenticationResult
impl Sync for AuthenticationResult
impl Unpin for AuthenticationResult
impl UnsafeUnpin for AuthenticationResult
impl UnwindSafe for AuthenticationResult
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