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

Object
  extended by TcBasicTypeDecoder
      extended by TcCompositeTypeDecoder
          extended by TcTpmDaaBlob

public class TcTpmDaaBlob
extends TcCompositeTypeDecoder


Constructor Summary
TcTpmDaaBlob()
          Constructor - see superclass for details
TcTpmDaaBlob(TcBlobData data)
          Constructor - see superclass for details
TcTpmDaaBlob(TcBlobData data, int offset)
          Constructor - see superclass for details
TcTpmDaaBlob(TcCompositeTypeDecoder composite)
          Constructor - see superclass for details
 
Method Summary
 TcBlobData getAdditionalData()
          Returns contents of the additionalData field.
 long getAdditionalSize()
          Returns contents of the additionalSize field.
 TcTpmDigest getBlobIntegrity()
          Returns contents of the blobIntegrity field.
 TcBlobData getEncoded()
          This method encodes the TPM_DAA_BLOB as a byte blob.
 TcBlobData getLabel()
          Returns contents of the label field.
 long getResourceType()
          Returns contents of the resourceType field.
 TcBlobData getSensitiveData()
          Returns contents of the sensitiveData field.
 long getSensitiveSize()
          Returns contents of the sensitiveSize field.
 int getTag()
          Returns contents of the tag field.
 void setAdditionalData(TcBlobData additionalData)
          Sets the additionalData field.
 void setBlobIntegrity(TcTpmDigest blobIntegrity)
          Sets the blobIntegrity field.
 void setLabel(TcBlobData label)
          Sets the label field.
 void setResourceType(long resourceType)
          Sets the resourceType field.
 void setSensitiveData(TcBlobData sensitiveData)
          Sets the sensitiveData 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

TcTpmDaaBlob

public TcTpmDaaBlob()
Constructor - see superclass for details

See Also:
TcCompositeTypeDecoder.TcCompositeTypeDecoder()

TcTpmDaaBlob

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

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

TcTpmDaaBlob

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

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

TcTpmDaaBlob

public TcTpmDaaBlob(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_DAA_BLOB 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.


getResourceType

public long getResourceType()
Returns contents of the resourceType field.


setResourceType

public void setResourceType(long resourceType)
Sets the resourceType field.


getLabel

public TcBlobData getLabel()
Returns contents of the label field.


setLabel

public void setLabel(TcBlobData label)
Sets the label field.


getBlobIntegrity

public TcTpmDigest getBlobIntegrity()
Returns contents of the blobIntegrity field.


setBlobIntegrity

public void setBlobIntegrity(TcTpmDigest blobIntegrity)
Sets the blobIntegrity field.


getAdditionalSize

public long getAdditionalSize()
Returns contents of the additionalSize field.


getAdditionalData

public TcBlobData getAdditionalData()
Returns contents of the additionalData field.


setAdditionalData

public void setAdditionalData(TcBlobData additionalData)
Sets the additionalData field.


getSensitiveSize

public long getSensitiveSize()
Returns contents of the sensitiveSize field.


getSensitiveData

public TcBlobData getSensitiveData()
Returns contents of the sensitiveData field.


setSensitiveData

public void setSensitiveData(TcBlobData sensitiveData)
Sets the sensitiveData field.