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

Object
  extended by TcBasicTypeDecoder
      extended by TcCompositeTypeDecoder
          extended by TcTpmCertifyInfo2

public class TcTpmCertifyInfo2
extends TcCompositeTypeDecoder


Constructor Summary
TcTpmCertifyInfo2()
          Constructor - see superclass for details
TcTpmCertifyInfo2(TcBlobData data)
          Constructor - see superclass for details
TcTpmCertifyInfo2(TcBlobData data, int offset)
          Constructor - see superclass for details
TcTpmCertifyInfo2(TcCompositeTypeDecoder composite)
          Constructor - see superclass for details
 
Method Summary
 TcTpmKeyParms getAlgorithmParms()
          Returns contents of the algorithmParms field.
 short getAuthDataUsage()
          Returns contents of the authDataUsage field.
 TcTpmNonce getData()
          Returns contents of the data field.
 TcBlobData getEncoded()
          This method encodes the TPM_CERTIFY_INFO2 as a byte blob.
 short getFill()
          Returns contents of the fill field.
 long getKeyFlags()
          Returns contents of the keyFlags field.
 int getKeyUsage()
          Returns contents of the keyUsage field.
 TcBlobData getMigrationAuthority()
          Returns contents of the migrationAuthority field.
 long getMigrationAuthoritySize()
          Returns contents of the migrationAuthoritySize field.
 boolean getParentPCRStatus()
          Returns contents of the parentPCRStatus field.
 short getPayloadType()
          Returns contents of the payloadType field.
 TcBlobData getPcrInfo()
          Returns contents of the pcrInfo field.
 long getPcrInfoSize()
          Returns contents of the pcrInfoSize field.
 TcTpmDigest getPubkeyDigest()
          Returns contents of the pubkeyDigest field.
 int getTag()
          Returns contents of the tag field.
 void setAlgorithmParms(TcTpmKeyParms algorithmParms)
          Sets the algorithmParms field.
 void setAuthDataUsage(short authDataUsage)
          Sets the authDataUsage field.
 void setData(TcTpmNonce data)
          Sets the data field.
 void setFill(short fill)
          Sets the fill field.
 void setKeyFlags(long keyFlags)
          Sets the keyFlags field.
 void setKeyUsage(int keyUsage)
          Sets the keyUsage field.
 void setMigrationAuthority(TcBlobData migrationAuthority)
          Sets the migrationAuthority field.
 void setParentPCRStatus(boolean parentPCRStatus)
          Sets the parentPCRStatus field.
 void setPayloadType(short payloadType)
          Sets the payloadType field.
 void setPcrInfo(TcBlobData pcrInfo)
          Sets the pcrInfo field.
 void setPubkeyDigest(TcTpmDigest pubkeyDigest)
          Sets the pubkeyDigest field.
 void setTag(int tag)
          Sets the tag 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

TcTpmCertifyInfo2

public TcTpmCertifyInfo2()
Constructor - see superclass for details

See Also:
TcCompositeTypeDecoder.TcCompositeTypeDecoder()

TcTpmCertifyInfo2

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

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

TcTpmCertifyInfo2

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

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

TcTpmCertifyInfo2

public TcTpmCertifyInfo2(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_CERTIFY_INFO2 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.


getFill

public short getFill()
Returns contents of the fill field.


setFill

public void setFill(short fill)
Sets the fill field.


getPayloadType

public short getPayloadType()
Returns contents of the payloadType field.


setPayloadType

public void setPayloadType(short payloadType)
Sets the payloadType field.


getKeyUsage

public int getKeyUsage()
Returns contents of the keyUsage field.


setKeyUsage

public void setKeyUsage(int keyUsage)
Sets the keyUsage field.


getKeyFlags

public long getKeyFlags()
Returns contents of the keyFlags field.


setKeyFlags

public void setKeyFlags(long keyFlags)
Sets the keyFlags field.


getAuthDataUsage

public short getAuthDataUsage()
Returns contents of the authDataUsage field.


setAuthDataUsage

public void setAuthDataUsage(short authDataUsage)
Sets the authDataUsage field.


getAlgorithmParms

public TcTpmKeyParms getAlgorithmParms()
Returns contents of the algorithmParms field.


setAlgorithmParms

public void setAlgorithmParms(TcTpmKeyParms algorithmParms)
Sets the algorithmParms field.


getPubkeyDigest

public TcTpmDigest getPubkeyDigest()
Returns contents of the pubkeyDigest field.


setPubkeyDigest

public void setPubkeyDigest(TcTpmDigest pubkeyDigest)
Sets the pubkeyDigest field.


getData

public TcTpmNonce getData()
Returns contents of the data field.


setData

public void setData(TcTpmNonce data)
Sets the data field.


getParentPCRStatus

public boolean getParentPCRStatus()
Returns contents of the parentPCRStatus field.


setParentPCRStatus

public void setParentPCRStatus(boolean parentPCRStatus)
Sets the parentPCRStatus field.


getPcrInfoSize

public long getPcrInfoSize()
Returns contents of the pcrInfoSize field.


getPcrInfo

public TcBlobData getPcrInfo()
Returns contents of the pcrInfo field.


setPcrInfo

public void setPcrInfo(TcBlobData pcrInfo)
Sets the pcrInfo field.


getMigrationAuthoritySize

public long getMigrationAuthoritySize()
Returns contents of the migrationAuthoritySize field.


getMigrationAuthority

public TcBlobData getMigrationAuthority()
Returns contents of the migrationAuthority field.


setMigrationAuthority

public void setMigrationAuthority(TcBlobData migrationAuthority)
Sets the migrationAuthority field.