pub struct AuthenticatorAssertionResponse {
pub client_data_json: Vec<u8>,
pub authenticator_data: Vec<u8>,
pub signature: Vec<u8>,
pub user_handle: Option<Vec<u8>>,
}Expand description
The browser’s response after a navigator.credentials.get() call.
All fields carry raw decoded bytes — base64url decoding must happen outside the library before constructing this struct.
Fields§
§client_data_json: Vec<u8>Raw UTF-8 bytes of the clientDataJSON object.
authenticator_data: Vec<u8>Raw bytes of the authenticatorData structure.
signature: Vec<u8>DER-encoded ECDSA signature bytes.
user_handle: Option<Vec<u8>>Optional raw user handle bytes (some authenticators omit it).
Trait Implementations§
Source§impl Clone for AuthenticatorAssertionResponse
impl Clone for AuthenticatorAssertionResponse
Source§fn clone(&self) -> AuthenticatorAssertionResponse
fn clone(&self) -> AuthenticatorAssertionResponse
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 moreAuto Trait Implementations§
impl Freeze for AuthenticatorAssertionResponse
impl RefUnwindSafe for AuthenticatorAssertionResponse
impl Send for AuthenticatorAssertionResponse
impl Sync for AuthenticatorAssertionResponse
impl Unpin for AuthenticatorAssertionResponse
impl UnsafeUnpin for AuthenticatorAssertionResponse
impl UnwindSafe for AuthenticatorAssertionResponse
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