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

java.lang.Object
  extended by iaik.tc.tss.api.structs.common.TcBasicTypeDecoder
      extended by iaik.tc.tss.api.structs.common.TcCompositeTypeDecoder
          extended by iaik.tc.tss.api.structs.tpm.TcTpmSealedData

public class TcTpmSealedData
extends TcCompositeTypeDecoder


Constructor Summary
TcTpmSealedData()
          Constructor - see superclass for details
TcTpmSealedData(TcBlobData data)
          Constructor - see superclass for details
TcTpmSealedData(TcBlobData data, int offset)
          Constructor - see superclass for details
TcTpmSealedData(TcCompositeTypeDecoder composite)
          Constructor - see superclass for details
 
Method Summary
 TcTpmSecret getAuthData()
          Returns contents of the authData field.
 TcBlobData getData()
          Returns contents of the data field.
 long getDataSize()
          Returns contents of the dataSize field.
 TcBlobData getEncoded()
          This method encodes the TPM_SEALED_DATA as a byte blob.
 short getPayload()
          Returns contents of the payload field.
 TcTpmDigest getStoredDigest()
          Returns contents of the storedDigest field.
 TcTpmNonce getTpmProof()
          Returns contents of the tpmProof field.
 void setAuthData(TcTpmSecret authData)
          Sets the authData field.
 void setData(TcBlobData data)
          Sets the data field.
 void setPayload(short payload)
          Sets the payload field.
 void setStoredDigest(TcTpmDigest storedDigest)
          Sets the storedDigest field.
 void setTpmProof(TcTpmNonce tpmProof)
          Sets the tpmProof field.
 java.lang.String toString()
          This method returns a String representation of the object.
 
Methods inherited from class iaik.tc.tss.api.structs.common.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 java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TcTpmSealedData

public TcTpmSealedData()
Constructor - see superclass for details

See Also:
TcCompositeTypeDecoder.TcCompositeTypeDecoder()

TcTpmSealedData

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

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

TcTpmSealedData

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

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

TcTpmSealedData

public TcTpmSealedData(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_SEALED_DATA as a byte blob.

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

toString

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

Overrides:
toString in class TcCompositeTypeDecoder

getPayload

public short getPayload()
Returns contents of the payload field.


setPayload

public void setPayload(short payload)
Sets the payload field.


getAuthData

public TcTpmSecret getAuthData()
Returns contents of the authData field.


setAuthData

public void setAuthData(TcTpmSecret authData)
Sets the authData field.


getTpmProof

public TcTpmNonce getTpmProof()
Returns contents of the tpmProof field.


setTpmProof

public void setTpmProof(TcTpmNonce tpmProof)
Sets the tpmProof field.


getStoredDigest

public TcTpmDigest getStoredDigest()
Returns contents of the storedDigest field.


setStoredDigest

public void setStoredDigest(TcTpmDigest storedDigest)
Sets the storedDigest field.


getDataSize

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


getData

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


setData

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