Enum tss_esapi::handles::TpmHandle[][src]

pub enum TpmHandle {
    Pcr(PcrTpmHandle),
    NvIndex(NvIndexTpmHandle),
    HmacSession(HmacSessionTpmHandle),
    LoadedSession(LoadedSessionTpmHandle),
    PolicySession(PolicySessionTpmHandle),
    SavedSession(SavedSessionTpmHandle),
    Permanent(PermanentTpmHandle),
    Transient(TransientTpmHandle),
    Persistent(PersistentTpmHandle),
    AttachedComponent(AttachedComponentTpmHandle),
}

Enum representing the different types of tpm handles of a TPM handle.

  • Details The TPM handles are used to reference shielded locations of various types within the TPM.

  • OBS Do not confuse the TpmHandles with the ESYS ObjectHandle.

Variants

LoadedSession(LoadedSessionTpmHandle)
PolicySession(PolicySessionTpmHandle)
SavedSession(SavedSessionTpmHandle)
AttachedComponent(AttachedComponentTpmHandle)

Trait Implementations

impl Clone for TpmHandle[src]

impl Copy for TpmHandle[src]

impl Debug for TpmHandle[src]

impl Eq for TpmHandle[src]

impl From<AttachedComponentTpmHandle> for TpmHandle[src]

impl From<Enables> for TpmHandle[src]

impl From<Hierarchy> for TpmHandle[src]

impl From<HierarchyAuth> for TpmHandle[src]

impl From<HmacSessionTpmHandle> for TpmHandle[src]

impl From<LoadedSessionTpmHandle> for TpmHandle[src]

impl From<NvIndexTpmHandle> for TpmHandle[src]

impl From<PcrTpmHandle> for TpmHandle[src]

impl From<PermanentTpmHandle> for TpmHandle[src]

impl From<PersistentTpmHandle> for TpmHandle[src]

impl From<PolicySessionTpmHandle> for TpmHandle[src]

impl From<SavedSessionTpmHandle> for TpmHandle[src]

impl From<TransientTpmHandle> for TpmHandle[src]

impl PartialEq<TpmHandle> for TpmHandle[src]

impl StructuralEq for TpmHandle[src]

impl StructuralPartialEq for TpmHandle[src]

impl TryFrom<TpmHandle> for PcrTpmHandle[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<TpmHandle> for NvIndexTpmHandle[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<TpmHandle> for Hierarchy[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<TpmHandle> for Enables[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<TpmHandle> for HierarchyAuth[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<TpmHandle> for HmacSessionTpmHandle[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<TpmHandle> for LoadedSessionTpmHandle[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<TpmHandle> for PolicySessionTpmHandle[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<TpmHandle> for PermanentTpmHandle[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<TpmHandle> for SavedSessionTpmHandle[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<TpmHandle> for TransientTpmHandle[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<TpmHandle> for PersistentTpmHandle[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<TpmHandle> for AttachedComponentTpmHandle[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<u32> for TpmHandle[src]

type Error = Error

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> Free for T[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.