Struct webauthn_rs::proto::TpmsAttest[][src]

pub struct TpmsAttest {
    pub magic: u32,
    pub type_: TpmSt,
    pub qualified_signer: Tpm2bName,
    pub extra_data: Option<Vec<u8>>,
    pub clock_info: TpmsClockInfo,
    pub firmware_version: u64,
    pub typeattested: TpmuAttest,
}

Tpm attestation structure.

Fields

magic: u32

Magic. Should be set to TPM_GENERATED_VALUE

type_: TpmSt

The type of attestation for typeattested.

qualified_signer: Tpm2bName

Ignored in webauthn.

extra_data: Option<Vec<u8>>

Ignored in webauthn.

clock_info: TpmsClockInfo

Tpm Clock Information

firmware_version: u64

The TPM firmware version. May be obfuscated.

typeattested: TpmuAttest

The attestation.

Trait Implementations

impl Debug for TpmsAttest[src]

impl TryFrom<&'_ [u8]> for TpmsAttest[src]

type Error = WebauthnError

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,