[][src]Enum tpm2_tap::tap::TAPMessage

pub enum TAPMessage {
    Version(u8u8),
    AKCert,
    PcrTpm,
    PcrTpm2(u32, TPML_PCR_SELECTION, Option<TPML_DIGEST>),
    PcrLog,
    FreshnessAttestation(FreshnessAttestationMessage),
    NonceQualification,
    TPMClockTimeCerts,
    PcrAttestation(PcrAttestationMessage),
    Signature,
    PreviousHibernationReport,
    SupplementaryLogReport,
    DICEAttestation,
    CloseConnectionInofficiel,
    UnknownOptional,
}

Enum für sämtliche TAP-Nachrichten (mit Inhalt)

Variants

Version(u8u8)
AKCert
PcrTpm
PcrTpm2(u32, TPML_PCR_SELECTION, Option<TPML_DIGEST>)
PcrLog
FreshnessAttestation(FreshnessAttestationMessage)
NonceQualification
TPMClockTimeCerts
PcrAttestation(PcrAttestationMessage)
Signature
PreviousHibernationReport
SupplementaryLogReport
DICEAttestation
CloseConnectionInofficiel
UnknownOptional

Implementations

impl TAPMessage[src]

pub fn read(r: impl Read) -> Result<TAPMessage>[src]

Einlesen einer TAP-Nachricht aus binären Daten durch ein std::io::Read-Trait

pub fn write(&self, w: impl Write) -> Result<()>[src]

Ausgabe einer TAP-Nachricht in Binären Format in einen std::io::Write-Trait

pub fn encode(&self, buf: &mut Vec<u8>) -> Result<()>[src]

Aktuelle TAP-Nachricht in einen binären Vector convertieren

Auto Trait Implementations

impl RefUnwindSafe for TAPMessage

impl Send for TAPMessage

impl Sync for TAPMessage

impl Unpin for TAPMessage

impl UnwindSafe for TAPMessage

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> Free for T

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

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

impl<T> IntoSql for T

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.