iaik.tc.tss.impl.java.tcs.eventmgr
Interface TcITcsEventMgr

All Known Implementing Classes:
TcTcsEventMgrFlatFile, TcTcsEventMgrMem

public interface TcITcsEventMgr

This class can only be instantiated once (Singleton). The log file implementation must be configured in jtss_tcs.ini Any implementation MUST IMPLEMENT an getInstance() method.


Method Summary
 TcTssPcrEvent getPcrEvent(long pcrIndex, long pNumber)
          TcTcsi.TcsiGetPcrEvent(long, long, long)
 long getPcrEventCount(long pcrIndex)
          TcTcsi.TcsiGetPcrEventCount(long, long)
 TcTssPcrEvent[] getPcrEventLog()
          TcTcsi.TcsiGetPcrEventLog(long)
 TcTssPcrEvent[] getPcrEventsByPcr(long pcrIndex, long firstEvent, long eventCount)
          TcTcsi.TcsiGetPcrEventsByPcr(long, long, long, long)
 long logPcrEvent(TcTssPcrEvent pcrEvent)
          TcTcsi.TcsiLogPcrEvent(long, TcTssPcrEvent)
 

Method Detail

getPcrEvent

TcTssPcrEvent getPcrEvent(long pcrIndex,
                          long pNumber)
                          throws TcTcsException
TcTcsi.TcsiGetPcrEvent(long, long, long)

Throws:
TcTcsException

getPcrEventCount

long getPcrEventCount(long pcrIndex)
                      throws TcTcsException
TcTcsi.TcsiGetPcrEventCount(long, long)

Throws:
TcTcsException

getPcrEventsByPcr

TcTssPcrEvent[] getPcrEventsByPcr(long pcrIndex,
                                  long firstEvent,
                                  long eventCount)
                                  throws TcTcsException
TcTcsi.TcsiGetPcrEventsByPcr(long, long, long, long)

Throws:
TcTcsException

getPcrEventLog

TcTssPcrEvent[] getPcrEventLog()
                               throws TcTcsException
TcTcsi.TcsiGetPcrEventLog(long)

Throws:
TcTcsException

logPcrEvent

long logPcrEvent(TcTssPcrEvent pcrEvent)
                 throws TcTcsException
TcTcsi.TcsiLogPcrEvent(long, TcTssPcrEvent)

Throws:
TcTcsException