iaik.tc.tss.impl.java.tcs.pbg
Class TcTpmCmdManagement

java.lang.Object
  extended by iaik.tc.tss.impl.java.tcs.pbg.TcTpmCmdCommon
      extended by iaik.tc.tss.impl.java.tcs.pbg.TcTpmCmdManagement

public class TcTpmCmdManagement
extends TcTpmCmdCommon


Constructor Summary
TcTpmCmdManagement()
           
 
Method Summary
static java.lang.Object[] TpmFieldUpgrade(TcIStreamDest dest, TcBlobData inputData, TcTcsAuth inAuth1)
           
static java.lang.Object[] TpmResetLockValue(TcIStreamDest dest, TcTcsAuth inAuth1)
           
static java.lang.Object[] TpmSetRedirection(TcIStreamDest dest, long keyHandle, long redirCmd, TcBlobData inputData, TcTcsAuth inAuth1)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TcTpmCmdManagement

public TcTpmCmdManagement()
Method Detail

TpmSetRedirection

public static java.lang.Object[] TpmSetRedirection(TcIStreamDest dest,
                                                   long keyHandle,
                                                   long redirCmd,
                                                   TcBlobData inputData,
                                                   TcTcsAuth inAuth1)
                                            throws TcTddlException,
                                                   TcTpmException
Parameters:
dest - The destination where the byte stream is written to.
inAuth1 - Authorization values for first authorization session.
keyHandle - The keyHandle identifier of a loaded key that can implement redirection.
redirCmd - The command to execute
inputData - Manufacturer parameter
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:
55

TpmResetLockValue

public static java.lang.Object[] TpmResetLockValue(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)
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:
57

TpmFieldUpgrade

public static java.lang.Object[] TpmFieldUpgrade(TcIStreamDest dest,
                                                 TcBlobData inputData,
                                                 TcTcsAuth inAuth1)
                                          throws TcTddlException,
                                                 TcTpmException
Parameters:
dest - The destination where the byte stream is written to.
inputData - Vendor specific data blob.
inAuth1 - Authorization values for first authorization session.
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:
52