pub struct Quote {
pub attest: Vec<u8>,
pub signature: String,
pub pcr_selection: String,
}Expand description
A TPM2 quote: the TPM-generated TPMS_ATTEST and the attestation key’s
ES256 signature over it (hex r || s). Same encoding as the Python
SDK’s Quote.
Fields§
§attest: Vec<u8>Marshalled TPMS_ATTEST.
signature: StringAttestation key’s ES256 signature over attest, hex r || s.
pcr_selection: StringThe PCR selection quoted, e.g. sha256:0,1,2,3,4,5,6,7.
Trait Implementations§
impl Eq for Quote
impl StructuralPartialEq for Quote
Auto Trait Implementations§
impl Freeze for Quote
impl RefUnwindSafe for Quote
impl Send for Quote
impl Sync for Quote
impl Unpin for Quote
impl UnsafeUnpin for Quote
impl UnwindSafe for Quote
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.