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

Object
  extended by TcBasicTypeDecoder
      extended by TcCompositeTypeDecoder
          extended by TcTpmNvDataPublic

public class TcTpmNvDataPublic
extends TcCompositeTypeDecoder


Constructor Summary
TcTpmNvDataPublic()
          Constructor - see superclass for details
TcTpmNvDataPublic(TcBlobData data)
          Constructor - see superclass for details
TcTpmNvDataPublic(TcBlobData data, int offset)
          Constructor - see superclass for details
TcTpmNvDataPublic(TcCompositeTypeDecoder composite)
          Constructor - see superclass for details
 
Method Summary
 long getDataSize()
          Returns contents of the dataSize field.
 TcBlobData getEncoded()
          This method encodes the TPM_NV_DATA_PUBLIC as a byte blob.
 long getNvIndex()
          Returns contents of the nvIndex field.
 TcTpmPcrInfoShort getPcrInfoRead()
          Returns contents of the pcrInfoRead field.
 TcTpmPcrInfoShort getPcrInfoWrite()
          Returns contents of the pcrInfoWrite field.
 TcTpmNvAttributes getPermission()
          Returns contents of the permission field.
 boolean getReadSTClear()
          Returns contents of the readSTClear field.
 int getTag()
          Returns contents of the tag field.
 boolean getWriteDefine()
          Returns contents of the writeDefine field.
 boolean getWriteSTClear()
          Returns contents of the writeSTClear field.
 void setDataSize(long dataSize)
          Sets the dataSize field.
 void setNvIndex(long nvIndex)
          Sets the nvIndex field.
 void setPcrInfoRead(TcTpmPcrInfoShort pcrInfoRead)
          Sets the pcrInfoRead field.
 void setPcrInfoWrite(TcTpmPcrInfoShort pcrInfoWrite)
          Sets the pcrInfoWrite field.
 void setPermission(TcTpmNvAttributes permission)
          Sets the permission field.
 void setReadSTClear(boolean readSTClear)
          Sets the readSTClear field.
 void setTag(int tag)
          Sets the tag field.
 void setWriteDefine(boolean writeDefine)
          Sets the writeDefine field.
 void setWriteSTClear(boolean writeSTClear)
          Sets the writeSTClear 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

TcTpmNvDataPublic

public TcTpmNvDataPublic()
Constructor - see superclass for details

See Also:
TcCompositeTypeDecoder.TcCompositeTypeDecoder()

TcTpmNvDataPublic

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

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

TcTpmNvDataPublic

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

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

TcTpmNvDataPublic

public TcTpmNvDataPublic(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_NV_DATA_PUBLIC 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.


getNvIndex

public long getNvIndex()
Returns contents of the nvIndex field.


setNvIndex

public void setNvIndex(long nvIndex)
Sets the nvIndex field.


getPcrInfoRead

public TcTpmPcrInfoShort getPcrInfoRead()
Returns contents of the pcrInfoRead field.


setPcrInfoRead

public void setPcrInfoRead(TcTpmPcrInfoShort pcrInfoRead)
Sets the pcrInfoRead field.


getPcrInfoWrite

public TcTpmPcrInfoShort getPcrInfoWrite()
Returns contents of the pcrInfoWrite field.


setPcrInfoWrite

public void setPcrInfoWrite(TcTpmPcrInfoShort pcrInfoWrite)
Sets the pcrInfoWrite field.


getPermission

public TcTpmNvAttributes getPermission()
Returns contents of the permission field.


setPermission

public void setPermission(TcTpmNvAttributes permission)
Sets the permission field.


getReadSTClear

public boolean getReadSTClear()
Returns contents of the readSTClear field.


setReadSTClear

public void setReadSTClear(boolean readSTClear)
Sets the readSTClear field.


getWriteSTClear

public boolean getWriteSTClear()
Returns contents of the writeSTClear field.


setWriteSTClear

public void setWriteSTClear(boolean writeSTClear)
Sets the writeSTClear field.


getWriteDefine

public boolean getWriteDefine()
Returns contents of the writeDefine field.


setWriteDefine

public void setWriteDefine(boolean writeDefine)
Sets the writeDefine field.


getDataSize

public long getDataSize()
Returns contents of the dataSize field.


setDataSize

public void setDataSize(long dataSize)
Sets the dataSize field.