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

Object
  extended by TcBasicTypeDecoder
      extended by TcCompositeTypeDecoder
          extended by TcTpmStoreAsymkey

public class TcTpmStoreAsymkey
extends TcCompositeTypeDecoder


Constructor Summary
TcTpmStoreAsymkey()
          Constructor - see superclass for details
TcTpmStoreAsymkey(TcBlobData data)
          Constructor - see superclass for details
TcTpmStoreAsymkey(TcBlobData data, int offset)
          Constructor - see superclass for details
TcTpmStoreAsymkey(TcCompositeTypeDecoder composite)
          Constructor - see superclass for details
 
Method Summary
 TcBlobData getEncoded()
          This method encodes the TPM_STORE_ASYMKEY as a byte blob.
 TcTpmSecret getMigrationAuth()
          Returns contents of the migrationAuth field.
 short getPayload()
          Returns contents of the payload field.
 TcTpmStorePrivkey getPrivKey()
          Returns contents of the privKey field.
 TcTpmDigest getPubDataDigest()
          Returns contents of the pubDataDigest field.
 TcTpmSecret getUsageAuth()
          Returns contents of the usageAuth field.
 void setMigrationAuth(TcTpmSecret migrationAuth)
          Sets the migrationAuth field.
 void setPayload(short payload)
          Sets the payload field.
 void setPrivKey(TcTpmStorePrivkey privKey)
          Sets the privKey field.
 void setPubDataDigest(TcTpmDigest pubDataDigest)
          Sets the pubDataDigest field.
 void setUsageAuth(TcTpmSecret usageAuth)
          Sets the usageAuth 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

TcTpmStoreAsymkey

public TcTpmStoreAsymkey()
Constructor - see superclass for details

See Also:
TcCompositeTypeDecoder.TcCompositeTypeDecoder()

TcTpmStoreAsymkey

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

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

TcTpmStoreAsymkey

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

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

TcTpmStoreAsymkey

public TcTpmStoreAsymkey(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_STORE_ASYMKEY 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

getPayload

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


setPayload

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


getUsageAuth

public TcTpmSecret getUsageAuth()
Returns contents of the usageAuth field.


setUsageAuth

public void setUsageAuth(TcTpmSecret usageAuth)
Sets the usageAuth field.


getMigrationAuth

public TcTpmSecret getMigrationAuth()
Returns contents of the migrationAuth field.


setMigrationAuth

public void setMigrationAuth(TcTpmSecret migrationAuth)
Sets the migrationAuth field.


getPubDataDigest

public TcTpmDigest getPubDataDigest()
Returns contents of the pubDataDigest field.


setPubDataDigest

public void setPubDataDigest(TcTpmDigest pubDataDigest)
Sets the pubDataDigest field.


getPrivKey

public TcTpmStorePrivkey getPrivKey()
Returns contents of the privKey field.


setPrivKey

public void setPrivKey(TcTpmStorePrivkey privKey)
Sets the privKey field.