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

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

public class TcTcsKeyCacheVista
extends TcTcsKeyCache

On Windows Vista, the TBS is designed to manage TPM resources. For more information refer to TcTcsAuthCacheVista.


Constructor Summary
TcTcsKeyCacheVista()
           
 
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

TcTcsKeyCacheVista

public TcTcsKeyCacheVista()
Method Detail

swapOutKeyNotParent

public boolean swapOutKeyNotParent(long khTpmParent)
                            throws TcTddlException,
                                   TcTpmException
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