Module tss_esapi::utils

source ·
Expand description

Utility module

This module mostly contains helper elements meant to act as either wrappers around FFI-level structs or builders for them, along with other convenience elements. The naming structure usually takes the names inherited from the TSS spec and applies Rust guidelines to them. Structures that are meant to act as builders have Builder appended to type name. Unions are converted to Rust enums by dropping the TPMU qualifier and appending Union.

Structs

Rust native wrapper for TPMS_CONTEXT objects.

Enums

Container for public key values

Functions

Create the Public structure for a restricted decryption key.
Create the Public structure for an unrestricted encryption/decryption key.
Create the Public structure for an ECC unrestricted signing key.
Create the Public structure for an RSA unrestricted signing key.
Create the Public structure for an RSA unrestricted signing key.
Get the TPM vendor name