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

Object
  extended by TcBasicTypeDecoder
      extended by TcCompositeTypeDecoder
          extended by TcTpmPcrInfoLong
All Implemented Interfaces:
TcITpmPcrInfo

public class TcTpmPcrInfoLong
extends TcCompositeTypeDecoder
implements TcITpmPcrInfo


Constructor Summary
TcTpmPcrInfoLong()
          Constructor - see superclass for details
TcTpmPcrInfoLong(TcBlobData data)
          Constructor - see superclass for details
TcTpmPcrInfoLong(TcBlobData data, int offset)
          Constructor - see superclass for details
TcTpmPcrInfoLong(TcCompositeTypeDecoder composite)
          Constructor - see superclass for details
 
Method Summary
 TcTpmPcrSelection getCreationPCRSelection()
          Returns contents of the creationPCRSelection field.
 TcTpmCompositeHash getDigestAtCreation()
          Returns contents of the digestAtCreation field.
 TcTpmCompositeHash getDigestAtRelease()
          Returns contents of the digestAtRelease field.
 TcBlobData getEncoded()
          This method encodes the TPM_PCR_INFO_LONG as a byte blob.
 short getLocalityAtCreation()
          Returns contents of the localityAtCreation field.
 short getLocalityAtRelease()
          Returns contents of the localityAtRelease field.
 TcTpmPcrSelection getReleasePcrSelection()
          Returns contents of the releasePCRSelection field.
 int getTag()
          Returns contents of the tag field.
 void setCreationPCRSelection(TcTpmPcrSelection creationPCRSelection)
          Sets the creationPCRSelection field.
 void setDigestAtCreation(TcTpmCompositeHash digestAtCreation)
          Sets the digestAtCreation field.
 void setDigestAtRelease(TcTpmCompositeHash digestAtRelease)
          Sets the digestAtRelease field.
 void setLocalityAtCreation(short localityAtCreation)
          Sets the localityAtCreation field.
 void setLocalityAtRelease(short localityAtRelease)
          Sets the localityAtRelease field.
 void setReleasePCRSelection(TcTpmPcrSelection releasePCRSelection)
          Sets the releasePCRSelection 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

TcTpmPcrInfoLong

public TcTpmPcrInfoLong()
Constructor - see superclass for details

See Also:
TcCompositeTypeDecoder.TcCompositeTypeDecoder()

TcTpmPcrInfoLong

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

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

TcTpmPcrInfoLong

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

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

TcTpmPcrInfoLong

public TcTpmPcrInfoLong(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_PCR_INFO_LONG as a byte blob.

Specified by:
getEncoded in interface TcITpmPcrInfo
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.


getLocalityAtCreation

public short getLocalityAtCreation()
Returns contents of the localityAtCreation field.


setLocalityAtCreation

public void setLocalityAtCreation(short localityAtCreation)
Sets the localityAtCreation field.


getLocalityAtRelease

public short getLocalityAtRelease()
Returns contents of the localityAtRelease field.


setLocalityAtRelease

public void setLocalityAtRelease(short localityAtRelease)
Sets the localityAtRelease field.


getCreationPCRSelection

public TcTpmPcrSelection getCreationPCRSelection()
Returns contents of the creationPCRSelection field.


setCreationPCRSelection

public void setCreationPCRSelection(TcTpmPcrSelection creationPCRSelection)
Sets the creationPCRSelection field.


getReleasePcrSelection

public TcTpmPcrSelection getReleasePcrSelection()
Returns contents of the releasePCRSelection field.


setReleasePCRSelection

public void setReleasePCRSelection(TcTpmPcrSelection releasePCRSelection)
Sets the releasePCRSelection field.


getDigestAtCreation

public TcTpmCompositeHash getDigestAtCreation()
Returns contents of the digestAtCreation field.

Specified by:
getDigestAtCreation in interface TcITpmPcrInfo

setDigestAtCreation

public void setDigestAtCreation(TcTpmCompositeHash digestAtCreation)
Sets the digestAtCreation field.

Specified by:
setDigestAtCreation in interface TcITpmPcrInfo

getDigestAtRelease

public TcTpmCompositeHash getDigestAtRelease()
Returns contents of the digestAtRelease field.

Specified by:
getDigestAtRelease in interface TcITpmPcrInfo

setDigestAtRelease

public void setDigestAtRelease(TcTpmCompositeHash digestAtRelease)
Sets the digestAtRelease field.

Specified by:
setDigestAtRelease in interface TcITpmPcrInfo