pub struct Context { /* private fields */ }
Expand description

Wrapper around tss_esapi::Context.

Implementations

Creates a connection context.

Creates an EK, returns the key handle and public cert in EKResult.

Creates an AK.

Loads an existing AK associated with handle and ak.

Activates credentials with given secret keyblob, AK, and EK.

Calculates a TPM quote of nonce over PCRs indicated with mask.

mask is a u32 value, e.g., 0x408000, translating bits that are set to pcrs to include in the list. The LSB in the mask corresponds to PCR0.

Trait Implementations

Converts this type into a mutable reference of the (usually inferred) input type.
Converts this type into a shared reference of the (usually inferred) input type.
Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Drops the content pointed by this pointer and frees it. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.