|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectde.datenzone.tpm4java.TddlLinuxDeviceDriver
public class TddlLinuxDeviceDriver
Access the TPM chip using a device file (eq. /dev/tpm in Linux).
| Constructor Summary | |
|---|---|
TddlLinuxDeviceDriver(java.lang.String device)
|
|
| Method Summary | |
|---|---|
protected void |
finalize()
|
int |
Tddli_Cancel()
Cancel the current request. |
int |
Tddli_Close()
Close the Connection to the TPM. |
int |
Tddli_GetCapability(int CapArea,
int SubCap,
int[] pCapBuf)
Get the capabilities. |
int |
Tddli_GetStatus(int ReqStatusType,
int[] puntStatus)
Request Status from the TPM. |
int |
Tddli_Open()
Open a Connection to the TPM. |
int |
Tddli_SetCapability(int CapArea,
int SubCap,
int[] pCapBuf)
Set the capabilities. |
byte[] |
Tddli_TransmitData(byte[] cmd)
Send a binary command to the tpm, and receive the answer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TddlLinuxDeviceDriver(java.lang.String device)
device - Name of the device file| Method Detail |
|---|
public byte[] Tddli_TransmitData(byte[] cmd)
throws java.io.IOException
Tddli_TransmitData in interface TddlDeviceDrivercmd -
java.io.IOException
public int Tddli_GetStatus(int ReqStatusType,
int[] puntStatus)
TddlDeviceDriver
Tddli_GetStatus in interface TddlDeviceDriverTddlDeviceDriver.Tddli_GetStatus(int, int[])public int Tddli_Cancel()
TddlDeviceDriver
Tddli_Cancel in interface TddlDeviceDriverTddlDeviceDriver.Tddli_Cancel()
public int Tddli_SetCapability(int CapArea,
int SubCap,
int[] pCapBuf)
TddlDeviceDriver
Tddli_SetCapability in interface TddlDeviceDriverTddlDeviceDriver.Tddli_SetCapability(int, int, int[])
public int Tddli_GetCapability(int CapArea,
int SubCap,
int[] pCapBuf)
TddlDeviceDriver
Tddli_GetCapability in interface TddlDeviceDriverTddlDeviceDriver.Tddli_GetCapability(int, int, int[])public int Tddli_Open()
TddlDeviceDriver
Tddli_Open in interface TddlDeviceDriverTddlDeviceDriver.Tddli_Open()
protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwablepublic int Tddli_Close()
TddlDeviceDriver
Tddli_Close in interface TddlDeviceDriverTddlDeviceDriver.Tddli_Close()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||