pub struct AzureSevSnpEvidenceData {
pub snp_evidence: AzureSnpHclEvidence,
pub vtpm_evidence: AzureSnpVtpmEvidence,
}Expand description
Azure SEV-SNP specific evidence data structure
On Azure Confidential VMs the SNP report’s report_data is set by the HCL layer to
SHA256(RuntimeData), where RuntimeData embeds the vTPM AK public key. User data is
therefore bound through the AK and the vTPM quote (see AzureSnpVtpmEvidence).
Fields§
§snp_evidence: AzureSnpHclEvidenceHCL-wrapped SEV-SNP attestation report + VCEK certificate fetched from AMD KDS.
vtpm_evidence: AzureSnpVtpmEvidencevTPM AK quote binding user_data (as nonce) and the platform PCR values.
Trait Implementations§
Source§impl Clone for AzureSevSnpEvidenceData
impl Clone for AzureSevSnpEvidenceData
Source§fn clone(&self) -> AzureSevSnpEvidenceData
fn clone(&self) -> AzureSevSnpEvidenceData
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 moreSource§impl Debug for AzureSevSnpEvidenceData
impl Debug for AzureSevSnpEvidenceData
Source§impl<'de> Deserialize<'de> for AzureSevSnpEvidenceData
impl<'de> Deserialize<'de> for AzureSevSnpEvidenceData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AzureSevSnpEvidenceData
Source§impl PartialEq for AzureSevSnpEvidenceData
impl PartialEq for AzureSevSnpEvidenceData
Source§fn eq(&self, other: &AzureSevSnpEvidenceData) -> bool
fn eq(&self, other: &AzureSevSnpEvidenceData) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AzureSevSnpEvidenceData
impl Serialize for AzureSevSnpEvidenceData
impl StructuralPartialEq for AzureSevSnpEvidenceData
Source§impl TryFrom<&AttestationEvidence> for AzureSevSnpEvidenceData
impl TryFrom<&AttestationEvidence> for AzureSevSnpEvidenceData
Source§type Error = TeeEvidenceError
type Error = TeeEvidenceError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for AzureSevSnpEvidenceData
impl RefUnwindSafe for AzureSevSnpEvidenceData
impl Send for AzureSevSnpEvidenceData
impl Sync for AzureSevSnpEvidenceData
impl Unpin for AzureSevSnpEvidenceData
impl UnsafeUnpin for AzureSevSnpEvidenceData
impl UnwindSafe for AzureSevSnpEvidenceData
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.