pub enum TpmHandle {
Pcr(PcrTpmHandle),
NvIndex(NvIndexTpmHandle),
HmacSession(HmacSessionTpmHandle),
LoadedSession(LoadedSessionTpmHandle),
PolicySession(PolicySessionTpmHandle),
SavedSession(SavedSessionTpmHandle),
Permanent(PermanentTpmHandle),
Transient(TransientTpmHandle),
Persistent(PersistentTpmHandle),
AttachedComponent(AttachedComponentTpmHandle),
}Expand description
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§
Pcr(PcrTpmHandle)
NvIndex(NvIndexTpmHandle)
HmacSession(HmacSessionTpmHandle)
LoadedSession(LoadedSessionTpmHandle)
PolicySession(PolicySessionTpmHandle)
SavedSession(SavedSessionTpmHandle)
Permanent(PermanentTpmHandle)
Transient(TransientTpmHandle)
Persistent(PersistentTpmHandle)
AttachedComponent(AttachedComponentTpmHandle)
Trait Implementations§
source§impl From<AttachedComponentTpmHandle> for TpmHandle
impl From<AttachedComponentTpmHandle> for TpmHandle
source§fn from(specific_tpm_handle: AttachedComponentTpmHandle) -> TpmHandle
fn from(specific_tpm_handle: AttachedComponentTpmHandle) -> TpmHandle
Converts to this type from the input type.
source§impl From<HierarchyAuth> for TpmHandle
impl From<HierarchyAuth> for TpmHandle
source§fn from(hierarchy_auth: HierarchyAuth) -> TpmHandle
fn from(hierarchy_auth: HierarchyAuth) -> TpmHandle
Converts to this type from the input type.
source§impl From<HmacSessionTpmHandle> for TpmHandle
impl From<HmacSessionTpmHandle> for TpmHandle
source§fn from(specific_tpm_handle: HmacSessionTpmHandle) -> TpmHandle
fn from(specific_tpm_handle: HmacSessionTpmHandle) -> TpmHandle
Converts to this type from the input type.
source§impl From<LoadedSessionTpmHandle> for TpmHandle
impl From<LoadedSessionTpmHandle> for TpmHandle
source§fn from(specific_tpm_handle: LoadedSessionTpmHandle) -> TpmHandle
fn from(specific_tpm_handle: LoadedSessionTpmHandle) -> TpmHandle
Converts to this type from the input type.
source§impl From<NvIndexTpmHandle> for TpmHandle
impl From<NvIndexTpmHandle> for TpmHandle
source§fn from(specific_tpm_handle: NvIndexTpmHandle) -> TpmHandle
fn from(specific_tpm_handle: NvIndexTpmHandle) -> TpmHandle
Converts to this type from the input type.
source§impl From<PcrTpmHandle> for TpmHandle
impl From<PcrTpmHandle> for TpmHandle
source§fn from(specific_tpm_handle: PcrTpmHandle) -> TpmHandle
fn from(specific_tpm_handle: PcrTpmHandle) -> TpmHandle
Converts to this type from the input type.
source§impl From<PermanentTpmHandle> for TpmHandle
impl From<PermanentTpmHandle> for TpmHandle
source§fn from(specific_tpm_handle: PermanentTpmHandle) -> TpmHandle
fn from(specific_tpm_handle: PermanentTpmHandle) -> TpmHandle
Converts to this type from the input type.
source§impl From<PersistentTpmHandle> for TpmHandle
impl From<PersistentTpmHandle> for TpmHandle
source§fn from(specific_tpm_handle: PersistentTpmHandle) -> TpmHandle
fn from(specific_tpm_handle: PersistentTpmHandle) -> TpmHandle
Converts to this type from the input type.
source§impl From<PolicySessionTpmHandle> for TpmHandle
impl From<PolicySessionTpmHandle> for TpmHandle
source§fn from(specific_tpm_handle: PolicySessionTpmHandle) -> TpmHandle
fn from(specific_tpm_handle: PolicySessionTpmHandle) -> TpmHandle
Converts to this type from the input type.
source§impl From<SavedSessionTpmHandle> for TpmHandle
impl From<SavedSessionTpmHandle> for TpmHandle
source§fn from(specific_tpm_handle: SavedSessionTpmHandle) -> TpmHandle
fn from(specific_tpm_handle: SavedSessionTpmHandle) -> TpmHandle
Converts to this type from the input type.
source§impl From<TpmHandle> for TPM2_HANDLE
impl From<TpmHandle> for TPM2_HANDLE
source§fn from(tpm_handle: TpmHandle) -> TPM2_HANDLE
fn from(tpm_handle: TpmHandle) -> TPM2_HANDLE
Converts to this type from the input type.
source§impl From<TransientTpmHandle> for TpmHandle
impl From<TransientTpmHandle> for TpmHandle
source§fn from(specific_tpm_handle: TransientTpmHandle) -> TpmHandle
fn from(specific_tpm_handle: TransientTpmHandle) -> TpmHandle
Converts to this type from the input type.