pub struct VerifiedAttestedKeyContext {
pub device: AttestedDevice,
pub request_binding: String,
}Expand description
What a verified request proves: this exact request was signed by the attested device key.
It says nothing about who the user is or what they may access. Authorization is separate.
Fields§
§device: AttestedDeviceThe attested device, from the integrity token.
request_binding: Stringbase64(SHA-256(signature base)), identifying this exact request.
Trait Implementations§
Source§impl Clone for VerifiedAttestedKeyContext
impl Clone for VerifiedAttestedKeyContext
Source§impl Debug for VerifiedAttestedKeyContext
impl Debug for VerifiedAttestedKeyContext
impl Eq for VerifiedAttestedKeyContext
impl StructuralPartialEq for VerifiedAttestedKeyContext
Auto Trait Implementations§
impl Freeze for VerifiedAttestedKeyContext
impl RefUnwindSafe for VerifiedAttestedKeyContext
impl Send for VerifiedAttestedKeyContext
impl Sync for VerifiedAttestedKeyContext
impl Unpin for VerifiedAttestedKeyContext
impl UnsafeUnpin for VerifiedAttestedKeyContext
impl UnwindSafe for VerifiedAttestedKeyContext
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.