pub struct VerifiedEvidence {
pub tee: TeeKind,
pub report_data: Vec<u8>,
pub measurements: BTreeMap<String, Vec<u8>>,
pub debug: bool,
pub nitro: Option<AttestationDocument>,
}Expand description
Evidence whose signature chain has been verified.
Fields§
§tee: TeeKindThe TEE that produced the evidence.
report_data: Vec<u8>Data bound into the evidence by the attester: Nitro user_data, or the 64-byte
REPORT_DATA of an SEV-SNP report or DCAP quote.
measurements: BTreeMap<String, Vec<u8>>Named measurements, compared against expected values by the caller. Names per TEE:
Nitro pcr0..pcrN; SEV-SNP measurement, host_data, id_key_digest,
author_key_digest; TDX mrtd, rtmr0..rtmr3, mrseam, mrconfigid, mrowner,
mrownerconfig; SGX mrenclave, mrsigner.
debug: booltrue if the TEE runs in debug mode, where its memory is not confidential.
nitro: Option<AttestationDocument>The decoded Nitro attestation document, for Nitro evidence.
Trait Implementations§
Source§impl Clone for VerifiedEvidence
impl Clone for VerifiedEvidence
Auto Trait Implementations§
impl Freeze for VerifiedEvidence
impl RefUnwindSafe for VerifiedEvidence
impl Send for VerifiedEvidence
impl Sync for VerifiedEvidence
impl Unpin for VerifiedEvidence
impl UnsafeUnpin for VerifiedEvidence
impl UnwindSafe for VerifiedEvidence
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