Enum tss_esapi::tcti_ldr::TctiNameConf [−][src]
pub enum TctiNameConf {
Device(DeviceConfig),
Mssim(NetworkTPMConfig),
Swtpm(NetworkTPMConfig),
Tabrmd(TabrmdConfig),
}
Expand description
Placeholder TCTI types that can be used when initialising a Context
to determine which
interface will be used to communicate with the TPM.
Variants
Device(DeviceConfig)
Connect to a TPM available as a device node on the system
For more information about configuration, see this page
Tuple Fields of Device
0: DeviceConfig
Mssim(NetworkTPMConfig)
Connect to a TPM (simulator) available as a network device via the MSSIM protocol
For more information about configuration, see this page
Tuple Fields of Mssim
Swtpm(NetworkTPMConfig)
Connect to a TPM (simulator) available as a network device via the SWTPM protocol
For more information about configuration, see this page
Tuple Fields of Swtpm
Tabrmd(TabrmdConfig)
Connect to a TPM through an Access Broker/Resource Manager daemon
For more information about configuration, see this page
Tuple Fields of Tabrmd
0: TabrmdConfig
Implementations
Gets a TCTI from the following environment variables, in order:
- TPM2TOOLS_TCTI
- TCTI
- TEST_TCTI
Examples
// Create context
let tcti_name_conf = TctiNameConf::from_environment_variable().expect("Failed to get TCTI");
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TctiNameConf
impl Send for TctiNameConf
impl Sync for TctiNameConf
impl Unpin for TctiNameConf
impl UnwindSafe for TctiNameConf
Blanket Implementations
Mutably borrows from an owned value. Read more