iaik.tc.tss.impl.java.tcs.pbg
Class TcTpmCmdCapability
java.lang.Object
iaik.tc.tss.impl.java.tcs.pbg.TcTpmCmdCommon
iaik.tc.tss.impl.java.tcs.pbg.TcTpmCmdCapability
public class TcTpmCmdCapability
- extends TcTpmCmdCommon
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TcTpmCmdCapability
public TcTpmCmdCapability()
TpmGetCapability
public static java.lang.Object[] TpmGetCapability(TcIStreamDest dest,
long capArea,
TcBlobData subCap)
throws TcTddlException,
TcTpmException
- This command returns current information regarding the TPM. The limitation on what can be
returned in failure mode restricts the information a manufacturer may return when capArea
indicates TPM_CAP_MFR.
- Parameters:
dest
- The destination where the byte stream is written to.capArea
- Partition of capabilities to be interrogatedsubCap
- Further definition of information
- Returns:
- The returned Object[] holds the following elements:
- 0 ... TPM return code (Long)
- 1 ... The capability response (TcBlobData)
- Throws:
TcTpmException
- This exception indicates that a TPM error has occurred. The specific
error code id held by the exception.
TcTddlException
- TPM 1.2 Spec, page number:
- 37
TpmSetCapability
public static java.lang.Object[] TpmSetCapability(TcIStreamDest dest,
long capArea,
TcBlobData subCap,
TcBlobData setValue,
TcTcsAuth inAuth1)
throws TcTddlException,
TcTpmException
- Parameters:
dest
- The destination where the byte stream is written to.inAuth1
- Authorization values for first authorization session.capArea
- Partition of capabilities to be setsubCap
- Further definition of informationsetValue
- The value to set
- Returns:
- The returned Object[] holds the following elements:
- 0 ... TPM return code (Long)
- 1 ... outgoing authorization for session containing new nonceEven (TcTpmAuth)
- Throws:
TcTpmException
- This exception indicates that a TPM error has occurred. The specific
error code id held by the exception.
TcTddlException
- TPM 1.2 Spec, page number:
- 39
TpmGetCapabilityOwner
public static java.lang.Object[] TpmGetCapabilityOwner(TcIStreamDest dest,
TcTcsAuth inAuth1)
throws TcTddlException,
TcTpmException
- Parameters:
dest
- The destination where the byte stream is written to.inAuth1
- Authorization values for first authorization session.
- Returns:
- The returned Object[] holds the following elements:
- 0 ... TPM return code (Long)
- 1 ... outgoing authorization for session containing new nonceEven (TcTpmAuth)
- 2 ... A properly filled out version structure. (TcTpmVersion)
- 3 ... The current state of the non-volatile flags. (long)
- 4 ... The current state of the volatile flags. (long)
- Throws:
TcTpmException
- This exception indicates that a TPM error has occurred. The specific
error code id held by the exception.
TcTddlException
- TPM 1.2 Spec, page number:
- 41