Struct webauthn_rs_core::internals::TpmsAttest
source · 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,
}Expand description
Tpm attestation structure.
Fields§
§magic: u32Magic. Should be set to TPM_GENERATED_VALUE
type_: TpmStThe type of attestation for typeattested.
qualified_signer: Tpm2bNameIgnored in webauthn.
extra_data: Option<Vec<u8>>Ignored in webauthn.
clock_info: TpmsClockInfoTpm Clock Information
firmware_version: u64The TPM firmware version. May be obfuscated.
typeattested: TpmuAttestThe attestation.
Trait Implementations§
source§impl Debug for TpmsAttest
impl Debug for TpmsAttest
source§impl TryFrom<&[u8]> for TpmsAttest
impl TryFrom<&[u8]> for TpmsAttest
§type Error = WebauthnError
type Error = WebauthnError
The type returned in the event of a conversion error.
source§fn try_from(data: &[u8]) -> Result<TpmsAttest, WebauthnError>
fn try_from(data: &[u8]) -> Result<TpmsAttest, WebauthnError>
Performs the conversion.
Auto Trait Implementations§
impl RefUnwindSafe for TpmsAttest
impl Send for TpmsAttest
impl Sync for TpmsAttest
impl Unpin for TpmsAttest
impl UnwindSafe for TpmsAttest
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> 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