pub struct SignatureBase(/* private fields */);Expand description
A serialized signature base.
Implementations§
Source§impl SignatureBase
impl SignatureBase
Sourcepub fn client_data_hash(&self) -> [u8; 32]
pub fn client_data_hash(&self) -> [u8; 32]
SHA-256(base): the digest the device key signs, which App Attest calls clientDataHash.
Sourcepub fn request_binding(&self) -> String
pub fn request_binding(&self) -> String
base64(SHA-256(base)): identifies this exact request, for replay tracking and for
binding a response to it.
Trait Implementations§
Source§impl Clone for SignatureBase
impl Clone for SignatureBase
Source§impl Debug for SignatureBase
impl Debug for SignatureBase
impl Eq for SignatureBase
Source§impl PartialEq for SignatureBase
impl PartialEq for SignatureBase
impl StructuralPartialEq for SignatureBase
Auto Trait Implementations§
impl Freeze for SignatureBase
impl RefUnwindSafe for SignatureBase
impl Send for SignatureBase
impl Sync for SignatureBase
impl Unpin for SignatureBase
impl UnsafeUnpin for SignatureBase
impl UnwindSafe for SignatureBase
Blanket Implementations§
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.