Module that contains transportation layer classes for interacting with the TPM 2.0 simulator.
An object for interacting with the Tpm Simulator.
__init__(
host: str = "localhost", port: int = 2321
) -> TpmSimulator
Initialize the simulator on the requested host (ip) and port.
send_raw_data(data: str) -> None
Send raw data to the TPM simulator.
read_raw_data(count: int) -> bytes
Read raw data from the TPM simulator.
send_data(data: str) -> bytes
Send data to the TPM simulator.
startup(type: str) -> bytes
Initialize the connection to the TPM simulator.