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

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

public class TcTcsKeyCacheTpm11NoSwap
extends TcTcsKeyCache


Constructor Summary
TcTcsKeyCacheTpm11NoSwap()
           
 
Method Summary
 boolean swapOutKeyNotParent(long khTpmParent)
          This method frees TPM space by swapping out the first key that does not match the provided parent key handle.
 
Methods inherited from class iaik.tc.tss.impl.java.tcs.kcmgr.TcTcsKeyCache
ensureKeyIsLoadedInTpm, getInstance
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TcTcsKeyCacheTpm11NoSwap

public TcTcsKeyCacheTpm11NoSwap()
Method Detail

swapOutKeyNotParent

public boolean swapOutKeyNotParent(long khTpmParent)
                            throws TcTddlException,
                                   TcTpmException,
                                   TcTcsException
Description copied from class: TcTcsKeyCache
This method frees TPM space by swapping out the first key that does not match the provided parent key handle. This allows the caller to specify a key that has to remain inside the TPM.

Specified by:
swapOutKeyNotParent in class TcTcsKeyCache
Parameters:
khTpmParent - The TPM key handle of the parent that should remain in the TPM.
Returns:
Returns true if space could be freed (by swapping out keys), false otherwise.
Throws:
TcTpmException - This exception is thrown if accessing the TPM fails.
TcTddlException
TcTcsException