|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectiaik.tc.tss.impl.java.tcs.authmgr.TcTcsAuthCache
iaik.tc.tss.impl.java.tcs.authmgr.TcTcsAuthCacheTpm11
public class TcTcsAuthCacheTpm11
Constructor Summary | |
---|---|
TcTcsAuthCacheTpm11()
|
Method Summary | |
---|---|
java.lang.String |
cachedAuthSessionsToString()
This method is intended for debugging. |
void |
ensureAuthsAreLoadedInTpm(TcTcsAuth[] auths)
This method is called by TCSI methods that use auth sessions. |
void |
evictAllAuthSessions()
This method evicts all auth sessions from the TPM. |
void |
swapOutAuth(long[] keepHandles)
This method swaps out an auth sessions from the TPM. |
Methods inherited from class iaik.tc.tss.impl.java.tcs.authmgr.TcTcsAuthCache |
---|
addActiveAuthSession, getInstance, removeActiveAuthSession, trackActiveAuthSession |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TcTcsAuthCacheTpm11()
Method Detail |
---|
public void evictAllAuthSessions() throws TcTddlException, TcTpmException
TcTcsAuthCache
Note: This functionality is also implemented in TcTddl
. Changes
here should be applied in TcTddl too.
evictAllAuthSessions
in class TcTcsAuthCache
TcTddlException
TcTpmException
public void swapOutAuth(long[] keepHandles) throws TcTddlException, TcTpmException, TcTcsException
TcTcsAuthCache
swapOutAuth
in class TcTcsAuthCache
keepHandles
- When swapping out an auth session, this method avoids to swap out the
sessions with the handles specified by notHandles. If it does not matter which session
to swap out, simply pass an empty array.
TcTddlException
TcTpmException
TcTcsException
public void ensureAuthsAreLoadedInTpm(TcTcsAuth[] auths) throws TcTddlException, TcTpmException, TcTcsException
TcTcsAuthCache
ensureAuthsAreLoadedInTpm
in class TcTcsAuthCache
auths
- The auth sessions that have to be present in the TPM.
TcTddlException
TcTpmException
TcTcsException
public java.lang.String cachedAuthSessionsToString()
TcTcsAuthCache
cachedAuthSessionsToString
in class TcTcsAuthCache
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |