iaik.tc.tss.impl.java.tcs.ctxmgr
Class TcTcsContextMgr

java.lang.Object
  extended by iaik.tc.tss.impl.java.tcs.ctxmgr.TcTcsContextMgr

public class TcTcsContextMgr
extends java.lang.Object


Constructor Summary
TcTcsContextMgr()
           
 
Method Summary
static void checkContextHandle(long hContext)
           
static void checkKeyAssociatedWithContext(long hContext, long tcsKeyHandle)
           
static TcTcsContext getContextForHandle(long hContext)
           
static long TcsiCloseContext(long hContext)
           
static long TcsiFreeMemory(long hContext, long pMemory)
           
static TcBlobData TcsiGetCapability(long hContext, long capArea, TcBlobData subCap)
           
static java.lang.Object[] TcsiOpenContext()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TcTcsContextMgr

public TcTcsContextMgr()
Method Detail

checkContextHandle

public static void checkContextHandle(long hContext)
                               throws TcTcsException
Throws:
TcTcsException

checkKeyAssociatedWithContext

public static void checkKeyAssociatedWithContext(long hContext,
                                                 long tcsKeyHandle)
                                          throws TcTcsException
Throws:
TcTcsException

TcsiOpenContext

public static java.lang.Object[] TcsiOpenContext()

TcsiCloseContext

public static long TcsiCloseContext(long hContext)
                             throws TcTpmException,
                                    TcTcsException,
                                    TcTddlException
Throws:
TcTpmException
TcTcsException
TcTddlException

getContextForHandle

public static TcTcsContext getContextForHandle(long hContext)
                                        throws TcTcsException
Throws:
TcTcsException

TcsiFreeMemory

public static long TcsiFreeMemory(long hContext,
                                  long pMemory)
                           throws TcTcsException
Throws:
TcTcsException

TcsiGetCapability

public static TcBlobData TcsiGetCapability(long hContext,
                                           long capArea,
                                           TcBlobData subCap)
                                    throws TcTcsException
Throws:
TcTcsException