iaik.tc.tss.impl.java.tcs.kcmgr
Class TcTcsCachedKey

java.lang.Object
  extended by iaik.tc.tss.impl.java.tcs.kcmgr.TcTcsCachedKey

public class TcTcsCachedKey
extends java.lang.Object

This class holds all information about a key that is cached in the key cache.


Field Summary
static byte CT_SAVE_CONTEXT
          The key has been saved using TPM 1.2 methods (TPM_SaveContext).
static byte CT_SAVE_KEY_CONTEXT
          The key has been saved using TPM 1.1 methods (TPM_SaveKeyContext).
static byte CT_UNKNOWN
          The type of the key is undefined/unknown.
 
Constructor Summary
TcTcsCachedKey(byte cachedKeyType, java.lang.Object keyBlob)
          Constructor.
 
Method Summary
 java.lang.Object getKeyBlob()
          This method returns the saved key blob.
 byte getKeyType()
          This method returns the type of the key to be saved.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CT_UNKNOWN

public static final byte CT_UNKNOWN
The type of the key is undefined/unknown.

See Also:
Constant Field Values

CT_SAVE_CONTEXT

public static final byte CT_SAVE_CONTEXT
The key has been saved using TPM 1.2 methods (TPM_SaveContext).

See Also:
Constant Field Values

CT_SAVE_KEY_CONTEXT

public static final byte CT_SAVE_KEY_CONTEXT
The key has been saved using TPM 1.1 methods (TPM_SaveKeyContext).

See Also:
Constant Field Values
Constructor Detail

TcTcsCachedKey

public TcTcsCachedKey(byte cachedKeyType,
                      java.lang.Object keyBlob)
Constructor.

Parameters:
cachedKeyType - The type of the key blob.
keyBlob - The key blob to be saved.
Method Detail

getKeyType

public byte getKeyType()
This method returns the type of the key to be saved.


getKeyBlob

public java.lang.Object getKeyBlob()
This method returns the saved key blob.