pub struct TpmsAttestView<'a> {
pub attest_type: TpmSt,
pub qualified_signer: <Tpm2bName as TpmField<'a>>::View,
pub extra_data: <Tpm2bData as TpmField<'a>>::View,
pub clock_info: <TpmsClockInfo as TpmField<'a>>::View,
pub firmware_version: u64,
pub attested: TpmuAttestView<'a>,
}Expand description
Borrowed view over a marshaled TpmsAttest.
The leading magic word is validated against
TPM_GENERATED_VALUE during the
cast and is therefore not exposed as a field.
Fields§
§attest_type: TpmStThe attestation structure tag selecting the attested body.
qualified_signer: <Tpm2bName as TpmField<'a>>::ViewBorrowed qualified name of the signing key.
extra_data: <Tpm2bData as TpmField<'a>>::ViewBorrowed caller-provided qualifying data.
clock_info: <TpmsClockInfo as TpmField<'a>>::ViewBorrowed TPM clock information.
firmware_version: u64TPM firmware version.
attested: TpmuAttestView<'a>Borrowed attestation body selected by attest_type.
Auto Trait Implementations§
impl<'a> Freeze for TpmsAttestView<'a>
impl<'a> RefUnwindSafe for TpmsAttestView<'a>
impl<'a> Send for TpmsAttestView<'a>
impl<'a> Sync for TpmsAttestView<'a>
impl<'a> Unpin for TpmsAttestView<'a>
impl<'a> UnsafeUnpin for TpmsAttestView<'a>
impl<'a> UnwindSafe for TpmsAttestView<'a>
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