[][src]Module tss_esapi::abstraction::transient

Module for abstracting resource handle management

This module presents an abstraction over the TPM functionality exposed through the core Context structure. The abstraction works by hiding resource handle management from the client. This is achieved by passing objects back and forth in the form of contexts. Thus, when an object is created, its saved context is returned and the object is flushed from the TPM. Whenever the client needs to use said object, it calls the desired operation with the context as a parameter - the context is loaded in the TPM, the operation performed and the context flushed out again before the result is returned.

Object contexts thus act as an opaque handle that can, however, be used by the client to seralize and persist the underlying data.

Structs

TransientKeyContext

Structure offering an abstracted programming experience.

TransientKeyContextBuilder

Build a new TransientKeyContext.

Enums

KeyParams

Parameters for the kinds of keys supported by the context