|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectiaik.tc.tss.impl.java.tcs.TcTcsCommon
public class TcTcsCommon
This class provides methods that are commonly used throughout the TCS. This includes e.g. checking if a specific command ordinal is supported by the TPM. One example is to determine if LoadKey oder LoadKey2 should be used.
Field Summary | |
---|---|
static java.lang.String |
TPM_MAN_ETHZ
TPM manufacturer string for TPM emulator. |
Constructor Summary | |
---|---|
TcTcsCommon()
|
Method Summary | |
---|---|
static long |
getNumPcrs()
This method returns the number of PCRs supported by the TPM. |
static boolean |
isOrdinalSupported(long ordinal)
This method allows to check if a given command ordinal is supported by the TPM. |
static boolean |
isOrdinalSupported(TcTddl tddl,
long ordinal)
This method allows to check if a given command ordinal is supported by the TPM. |
static boolean |
tpmManufacturerIs(java.lang.String manString)
This method checks if the manufacturer string of the TPM matches the provided one. |
static boolean |
tpmManufacturerIs(TcTddl tddl,
java.lang.String manString)
This method checks if the manufacturer string of the TPM matches the provided one. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String TPM_MAN_ETHZ
Constructor Detail |
---|
public TcTcsCommon()
Method Detail |
---|
public static boolean isOrdinalSupported(long ordinal) throws TcTddlException, TcTpmException
ordinal
- The TPM command ordinal to be checked.
{@link
- TcTddlException}
{@link
- TcTpmException}
TcTddlException
TcTpmException
public static boolean isOrdinalSupported(TcTddl tddl, long ordinal) throws TcTddlException, TcTpmException
tddl
- The TcTddl to use.ordinal
- The TPM command ordinal to be checked.
{@link
- TcTddlException}
{@link
- TcTpmException}
TcTddlException
TcTpmException
public static boolean tpmManufacturerIs(java.lang.String manString) throws TcTddlException, TcTpmException
TcTddlException
TcTpmException
public static boolean tpmManufacturerIs(TcTddl tddl, java.lang.String manString) throws TcTddlException, TcTpmException
TcTddlException
TcTpmException
public static long getNumPcrs() throws TcTddlException, TcTpmException
TcTddlException
TcTpmException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |