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

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

public class TcTpmCmdDaa
extends TcTpmCmdCommon


Constructor Summary
TcTpmCmdDaa()
           
 
Method Summary
static java.lang.Object[] TpmDaaJoin(TcIStreamDest dest, long handle, short stage, TcBlobData inputData0, TcBlobData inputData1, TcTcsAuth inAuth1)
           
static java.lang.Object[] TpmDaaSign(TcIStreamDest dest, long handle, short stage, TcBlobData inputData0, TcBlobData inputData1, TcTcsAuth inAuth1)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TcTpmCmdDaa

public TcTpmCmdDaa()
Method Detail

TpmDaaJoin

public static java.lang.Object[] TpmDaaJoin(TcIStreamDest dest,
                                            long handle,
                                            short stage,
                                            TcBlobData inputData0,
                                            TcBlobData inputData1,
                                            TcTcsAuth inAuth1)
                                     throws TcTddlException,
                                            TcTpmException
Parameters:
dest - The destination where the byte stream is written to.
inAuth1 - Authorization values for first authorization session.
handle - Session handle
stage - Processing stage of join
inputData0 - Data to be used by this capability
inputData1 - Data to be used by this capability
Returns:
The returned Object[] holds the following elements:
  • 0 ... TPM return code (Long)
  • 1 ... outgoing authorization for session containing new nonceEven (TcTpmAuth)
  • 2 ... Data produced by this capability (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:
256

TpmDaaSign

public static java.lang.Object[] TpmDaaSign(TcIStreamDest dest,
                                            long handle,
                                            short stage,
                                            TcBlobData inputData0,
                                            TcBlobData inputData1,
                                            TcTcsAuth inAuth1)
                                     throws TcTddlException,
                                            TcTpmException
Parameters:
dest - The destination where the byte stream is written to.
inAuth1 - Authorization values for first authorization session.
handle - Handle to the sign session
stage - Stage of the sign process
inputData0 - Data to be used by this capability
inputData1 - Data to be used by this capability
Returns:
The returned Object[] holds the following elements:
  • 0 ... TPM return code (Long)
  • 1 ... outgoing authorization for session containing new nonceEven (TcTpmAuth)
  • 2 ... Data produced by this capability (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:
273