iaik.tc.tss.api.structs.tsp
Class TcTssPcrEvent

Object
  extended by TcTssPcrEvent

public class TcTssPcrEvent
extends Object

This class provides information about an individual PCR extend event.

TSS Spec. 1.2 Errata A, page number:
103
TSS Spec. 1.10 Golden, Aug. 20, 2003, page number:
46

Constructor Summary
TcTssPcrEvent()
          Default constructor.
 
Method Summary
 TcBlobData getEvent()
          Returns contents of the event field.
 long getEventLength()
          Returns length of the event.
 long getEventType()
          Returns contents of the eventType field.
 long getPcrIndex()
          Returns contents of the pcrIndex field.
 TcBlobData getPcrValue()
          Returns contents of the pcrValue field.
 long getPcrValueLength()
          Returns the length of the PCR value.
 TcTssVersion getVersionInfo()
          Returns contents of the versionInfo field.
 TcTssPcrEvent init(TcTssVersion versionInfo, long pcrIndex, long eventType, TcBlobData pcrValue, TcBlobData event)
          Initialization method taking and setting all parameters at once.
 void setEvent(TcBlobData event)
          Sets the event field.
 void setEventType(long eventType)
          Sets the eventType field.
 void setPcrIndex(long pcrIndex)
          Sets the pcrIndex field.
 void setPcrValue(TcBlobData pcrValue)
          Sets the pcrValue field.
 void setVersionInfo(TcTssVersion versionInfo)
          Sets the versionInfo field.
 String toString()
          Returns a String representation of the object.
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TcTssPcrEvent

public TcTssPcrEvent()
Default constructor.

Method Detail

init

public TcTssPcrEvent init(TcTssVersion versionInfo,
                          long pcrIndex,
                          long eventType,
                          TcBlobData pcrValue,
                          TcBlobData event)
Initialization method taking and setting all parameters at once.


getEventLength

public long getEventLength()
Returns length of the event.


getEventType

public long getEventType()
Returns contents of the eventType field.


setEventType

public void setEventType(long eventType)
Sets the eventType field.


getPcrIndex

public long getPcrIndex()
Returns contents of the pcrIndex field.


setPcrIndex

public void setPcrIndex(long pcrIndex)
Sets the pcrIndex field.


getPcrValueLength

public long getPcrValueLength()
Returns the length of the PCR value.


getEvent

public TcBlobData getEvent()
Returns contents of the event field.


setEvent

public void setEvent(TcBlobData event)
Sets the event field.


getPcrValue

public TcBlobData getPcrValue()
Returns contents of the pcrValue field.


setPcrValue

public void setPcrValue(TcBlobData pcrValue)
Sets the pcrValue field.


getVersionInfo

public TcTssVersion getVersionInfo()
Returns contents of the versionInfo field.


setVersionInfo

public void setVersionInfo(TcTssVersion versionInfo)
Sets the versionInfo field.


toString

public String toString()
Returns a String representation of the object.

Overrides:
toString in class Object