iaik.tc.tss.api.structs.tpm
Class TcTpmCapVersionInfo

Object
  extended by TcBasicTypeDecoder
      extended by TcCompositeTypeDecoder
          extended by TcTpmCapVersionInfo

public class TcTpmCapVersionInfo
extends TcCompositeTypeDecoder


Constructor Summary
TcTpmCapVersionInfo()
          Constructor - see superclass for details
TcTpmCapVersionInfo(TcBlobData data)
          Constructor - see superclass for details
TcTpmCapVersionInfo(TcBlobData data, int offset)
          Constructor - see superclass for details
TcTpmCapVersionInfo(TcCompositeTypeDecoder composite)
          Constructor - see superclass for details
 
Method Summary
 TcBlobData getEncoded()
          This method encodes the TPM_CAP_VERSION_INFO as a byte blob.
 short getErrataRev()
          Returns contents of the errataRev field.
 int getSpecLevel()
          Returns contents of the specLevel field.
 int getTag()
          Returns contents of the tag field.
 TcBlobData getTpmVendorID()
          Returns contents of the tpmVendorID field.
 TcBlobData getVendorSpecific()
          Returns contents of the vendorSpecific field.
 int getVendorSpecificSize()
          Returns contents of the vendorSpecificSize field.
 TcTpmVersion getVersion()
          Returns contents of the version field.
 void setErrataRev(short errataRev)
          Sets the errataRev field.
 void setSpecLevel(int specLevel)
          Sets the specLevel field.
 void setTag(int tag)
          Sets the tag field.
 void setTpmVendorID(TcBlobData tpmVendorID)
          Sets the tpmVendorID field.
 void setVendorSpecific(TcBlobData vendorSpecific)
          Sets the vendorSpecific field.
 void setVersion(TcTpmVersion version)
          Sets the version field.
 String toString()
          This method returns a String representation of the object.
 
Methods inherited from class TcBasicTypeDecoder
decodeBoolean, decodeByte, decodeBytes, decodeBytes, decodeTpmAlgorithmId, decodeTpmAuthDataUsage, decodeTpmEncScheme, decodeTpmKeyFlags, decodeTpmKeyUsage, decodeTpmSigScheme, decodeTssAlgorithmId, decodeTssEncScheme, decodeTssEvenType, decodeTssFlag, decodeTssHandle, decodeTssHContext, decodeTssHEncData, decodeTssHHash, decodeTssHKey, decodeTssHObjet, decodeTssHPcrs, decodeTssHPolicy, decodeTssHPS, decodeTssHTpm, decodeTssKeyUsageId, decodeTssMigrationScheme, decodeTssResult, decodeTssSigScheme, decodeUINT16, decodeUINT32, decodeUINT64
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TcTpmCapVersionInfo

public TcTpmCapVersionInfo()
Constructor - see superclass for details

See Also:
TcCompositeTypeDecoder.TcCompositeTypeDecoder()

TcTpmCapVersionInfo

public TcTpmCapVersionInfo(TcBlobData data)
Constructor - see superclass for details

See Also:
TcCompositeTypeDecoder.TcCompositeTypeDecoder(iaik.tc.tss.api.structs.common.TcBlobData)

TcTpmCapVersionInfo

public TcTpmCapVersionInfo(TcBlobData data,
                           int offset)
Constructor - see superclass for details

See Also:
TcCompositeTypeDecoder.TcCompositeTypeDecoder(iaik.tc.tss.api.structs.common.TcBlobData, int)

TcTpmCapVersionInfo

public TcTpmCapVersionInfo(TcCompositeTypeDecoder composite)
Constructor - see superclass for details

See Also:
TcCompositeTypeDecoder.TcCompositeTypeDecoder(iaik.tc.tss.api.structs.common.TcCompositeTypeDecoder)
Method Detail

getEncoded

public TcBlobData getEncoded()
This method encodes the TPM_CAP_VERSION_INFO as a byte blob.

Specified by:
getEncoded in class TcCompositeTypeDecoder
Returns:
byte blob to be passed to other layers (e.g. TSS)

toString

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

Overrides:
toString in class TcCompositeTypeDecoder

getTag

public int getTag()
Returns contents of the tag field.


setTag

public void setTag(int tag)
Sets the tag field.


getVersion

public TcTpmVersion getVersion()
Returns contents of the version field.


setVersion

public void setVersion(TcTpmVersion version)
Sets the version field.


getSpecLevel

public int getSpecLevel()
Returns contents of the specLevel field.


setSpecLevel

public void setSpecLevel(int specLevel)
Sets the specLevel field.


getErrataRev

public short getErrataRev()
Returns contents of the errataRev field.


setErrataRev

public void setErrataRev(short errataRev)
Sets the errataRev field.


getTpmVendorID

public TcBlobData getTpmVendorID()
Returns contents of the tpmVendorID field.


setTpmVendorID

public void setTpmVendorID(TcBlobData tpmVendorID)
Sets the tpmVendorID field.


getVendorSpecificSize

public int getVendorSpecificSize()
Returns contents of the vendorSpecificSize field.


getVendorSpecific

public TcBlobData getVendorSpecific()
Returns contents of the vendorSpecific field.


setVendorSpecific

public void setVendorSpecific(TcBlobData vendorSpecific)
Sets the vendorSpecific field.