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

Object
  extended by TcTssEventCert

public class TcTssEventCert
extends Object

This class implements the certificate the be used for events of type TSS_EV_CODE_CERT.

TSS Spec. 1.2 Errata A, page number:
104

Constructor Summary
TcTssEventCert()
          Default constructor.
 
Method Summary
 TcBlobData getCertificateHash()
          This method returns the content of the certificateHash field.
 long getCertificateHashLength()
          This method returns the length of the certificateHash field.
 TcBlobData getEntityDigest()
          This method returns the content of the entityDigest field.
 long getEntityDigestLength()
          This method returns the length of the entityDigest field.
 TcBlobData getIssuer()
          This method returns the content of the issuer field.
 long getIssuerLength()
          This method returns the length of the issuer field.
 TcTssVersion getVersionInfo()
          This method returns the content of the versionInfo field.
 boolean isDigestChecked()
          This method returns the content of the digestChecked field.
 boolean isDigestVerified()
          This method returns the content of the digestVerified field.
 void setCertificateHash(TcBlobData certificateHash)
          This method sets the content of the certificateHash field.
 void setDigestChecked(boolean digestChecked)
          This method sets the content of the digestChecked field.
 void setDigestVerified(boolean digestVerified)
          This method sets the content of the digestVerified field.
 void setEntityDigest(TcBlobData entityDigest)
          This method sets the content of the entityDigest field.
 void setIssuer(TcBlobData issuer)
          This method sets the content of the issuer field.
 void setVersionInfo(TcTssVersion versionInfo)
          This method sets the content of the versionInfo field.
 String toString()
          This method returns a String representation of the object.
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TcTssEventCert

public TcTssEventCert()
Default constructor.

Method Detail

getCertificateHash

public TcBlobData getCertificateHash()
This method returns the content of the certificateHash field.


setCertificateHash

public void setCertificateHash(TcBlobData certificateHash)
This method sets the content of the certificateHash field.


isDigestChecked

public boolean isDigestChecked()
This method returns the content of the digestChecked field.


setDigestChecked

public void setDigestChecked(boolean digestChecked)
This method sets the content of the digestChecked field.


isDigestVerified

public boolean isDigestVerified()
This method returns the content of the digestVerified field.


setDigestVerified

public void setDigestVerified(boolean digestVerified)
This method sets the content of the digestVerified field.


getEntityDigest

public TcBlobData getEntityDigest()
This method returns the content of the entityDigest field.


setEntityDigest

public void setEntityDigest(TcBlobData entityDigest)
This method sets the content of the entityDigest field.


getIssuer

public TcBlobData getIssuer()
This method returns the content of the issuer field.


setIssuer

public void setIssuer(TcBlobData issuer)
This method sets the content of the issuer field.


getVersionInfo

public TcTssVersion getVersionInfo()
This method returns the content of the versionInfo field.


setVersionInfo

public void setVersionInfo(TcTssVersion versionInfo)
This method sets the content of the versionInfo field.


getCertificateHashLength

public long getCertificateHashLength()
This method returns the length of the certificateHash field.

Returns:
The length of the certificateHash field.

getEntityDigestLength

public long getEntityDigestLength()
This method returns the length of the entityDigest field.

Returns:
The length of the entityDigest field.

getIssuerLength

public long getIssuerLength()
This method returns the length of the issuer field.

Returns:
The length of the issuer field.

toString

public String toString()
This method returns a String representation of the object.

Overrides:
toString in class Object