pub struct AuthenticatorAttestationResponse {
pub client_data_json: Vec<u8>,
pub attestation_object: Vec<u8>,
}Expand description
The response produced by the authenticator after navigator.credentials.create().
Both fields carry the raw decoded bytes — base64url decoding happens
outside the library before constructing this struct. This matches the
ArrayBuffer values you get after calling response.clientDataJSON in JS.
Fields§
§client_data_json: Vec<u8>Raw UTF-8 bytes of the clientDataJSON object.
attestation_object: Vec<u8>Raw CBOR bytes of the attestationObject.
Trait Implementations§
Source§impl Clone for AuthenticatorAttestationResponse
impl Clone for AuthenticatorAttestationResponse
Source§fn clone(&self) -> AuthenticatorAttestationResponse
fn clone(&self) -> AuthenticatorAttestationResponse
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 AuthenticatorAttestationResponse
impl RefUnwindSafe for AuthenticatorAttestationResponse
impl Send for AuthenticatorAttestationResponse
impl Sync for AuthenticatorAttestationResponse
impl Unpin for AuthenticatorAttestationResponse
impl UnsafeUnpin for AuthenticatorAttestationResponse
impl UnwindSafe for AuthenticatorAttestationResponse
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