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

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

public class TcTpmCmdDeprKey
extends TcTpmCmdCommon


Constructor Summary
TcTpmCmdDeprKey()
           
 
Method Summary
static java.lang.Object[] TpmEvictKey(TcIStreamDest dest, long evictHandle)
          This command allows the TPM manager to clear out information in a session handle.
static java.lang.Object[] TpmTerminateHandle(TcIStreamDest dest, long handle)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TcTpmCmdDeprKey

public TcTpmCmdDeprKey()
Method Detail

TpmEvictKey

public static java.lang.Object[] TpmEvictKey(TcIStreamDest dest,
                                             long evictHandle)
                                      throws TcTddlException,
                                             TcTpmException
This command allows the TPM manager to clear out information in a session handle. The TPM may maintain the authorization session even though a key attached to it has been unloaded or the authorization session itself has been unloaded in some way. When a command is executed that requires this session, it is the responsibility of the external software to load both the entity and the authorization session information prior to command execution. Note: TPM_Terminate_Handle has been replaced by TPM_Flush_Specific in TPM Spec 1.2.

Parameters:
dest - The destination where the byte stream is written to.
evictHandle - The handle of the key to be evicted.
Returns:
The returned Object[] holds the following elements:
  • 0 ... TPM return code (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:
285

TpmTerminateHandle

public static java.lang.Object[] TpmTerminateHandle(TcIStreamDest dest,
                                                    long handle)
                                             throws TcTddlException,
                                                    TcTpmException
Parameters:
dest - The destination where the byte stream is written to.
handle - The handle to terminate
Returns:
The returned Object[] holds the following elements:
  • 0 ... TPM return code (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:
286