Struct google_api_proto::google::cloud::confidentialcomputing::v1::TpmAttestation
source · pub struct TpmAttestation {
pub quotes: Vec<Quote>,
pub tcg_event_log: Bytes,
pub canonical_event_log: Bytes,
pub ak_cert: Bytes,
pub cert_chain: Vec<Bytes>,
}
Expand description
TPM2 data containing everything necessary to validate any platform state measured into the TPM.
Fields§
§quotes: Vec<Quote>
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.
tcg_event_log: Bytes
The binary TCG Event Log containing events measured into the TPM by the platform firmware and operating system. Formatted as described in the “TCG PC Client Platform Firmware Profile Specification”.
canonical_event_log: Bytes
An Event Log containing additional events measured into the TPM that are not already present in the tcg_event_log. Formatted as described in the “Canonical Event Log Format” TCG Specification.
ak_cert: Bytes
DER-encoded X.509 certificate of the Attestation Key (otherwise known as an AK or a TPM restricted signing key) used to generate the quotes.
cert_chain: Vec<Bytes>
List of DER-encoded X.509 certificates which, together with the ak_cert, chain back to a trusted Root Certificate.
Trait Implementations§
source§impl Clone for TpmAttestation
impl Clone for TpmAttestation
source§fn clone(&self) -> TpmAttestation
fn clone(&self) -> TpmAttestation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TpmAttestation
impl Debug for TpmAttestation
source§impl Default for TpmAttestation
impl Default for TpmAttestation
source§impl Message for TpmAttestation
impl Message for TpmAttestation
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for TpmAttestation
impl PartialEq for TpmAttestation
source§fn eq(&self, other: &TpmAttestation) -> bool
fn eq(&self, other: &TpmAttestation) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TpmAttestation
Auto Trait Implementations§
impl !Freeze for TpmAttestation
impl RefUnwindSafe for TpmAttestation
impl Send for TpmAttestation
impl Sync for TpmAttestation
impl Unpin for TpmAttestation
impl UnwindSafe for TpmAttestation
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request