public abstract class TpmDeviceBase extends Object implements Closeable
| Constructor and Description |
|---|
TpmDeviceBase() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
dispatchCommand(byte[] command)
Send the TPM-formatted command byte-array to the TPM
|
abstract byte[] |
getResponse()
Get the response from the TPM.
|
void |
powerCycle()
Power-cycle the TPM (typically only implemented for simulator).
|
void |
powerOff()
Power-off the TPM (typically only implemented for simulator).
|
void |
powerOn()
Power-on the TPM (typically only implemented for simulator).
|
void |
pPOff()
Disable physical presence (typically only implemented for simulator).
|
void |
pPOn()
Assert physical presence until PPOff (typically only implemented for simulator).
|
void |
setLocality(int locality)
Send the commands that follow at the specified locality
|
public abstract void dispatchCommand(byte[] command)
command - The command bytespublic abstract byte[] getResponse()
public void powerOn()
public void powerOff()
public void powerCycle()
public void pPOn()
public void pPOff()
public void setLocality(int locality)
locality - Locality (zero to 4)Copyright © 2017. All rights reserved.