public class TpmFactory extends Object
| Constructor and Description |
|---|
TpmFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Tpm |
localTpmSimulator()
Connect to a simulator running on localhost using the default ports.
|
static Tpm |
platformTpm()
Connect to the platform TPM device.
|
static Tpm |
remoteTpm(String hostName,
int port)
Connect either to a TPM simulator or to a proxy server implementing the TPM simulator protocol.
|
public static Tpm localTpmSimulator()
public static Tpm remoteTpm(String hostName, int port)
hostName - Remote host (dotted IP address or DNS host name)port - Port number of the TPM command socket. Note that the protocol also uses port+1 to accept control signals.public static Tpm platformTpm()
Copyright © 2018. All rights reserved.