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

Object
  extended by TcBasicTypeDecoder
      extended by TcCompositeTypeDecoder
          extended by TcTpmTransportPublic

public class TcTpmTransportPublic
extends TcCompositeTypeDecoder


Constructor Summary
TcTpmTransportPublic()
          Constructor - see superclass for details
TcTpmTransportPublic(TcBlobData data)
          Constructor - see superclass for details
TcTpmTransportPublic(TcBlobData data, int offset)
          Constructor - see superclass for details
TcTpmTransportPublic(TcCompositeTypeDecoder composite)
          Constructor - see superclass for details
 
Method Summary
 long getAlgId()
          Returns contents of the algId field.
 TcBlobData getEncoded()
          This method encodes the TPM_TRANSPORT_PUBLIC as a byte blob.
 int getEncScheme()
          Returns contents of the encScheme field.
 int getTag()
          Returns contents of the tag field.
 long getTransAttributes()
          Returns contents of the transAttributes field.
 void setAlgId(long algId)
          Sets the algId field.
 void setEncScheme(int encScheme)
          Sets the encScheme field.
 void setTag(int tag)
          Sets the tag field.
 void setTransAttributes(long transAttributes)
          Sets the transAttributes 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

TcTpmTransportPublic

public TcTpmTransportPublic()
Constructor - see superclass for details

See Also:
TcCompositeTypeDecoder.TcCompositeTypeDecoder()

TcTpmTransportPublic

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

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

TcTpmTransportPublic

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

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

TcTpmTransportPublic

public TcTpmTransportPublic(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_TRANSPORT_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.


getTransAttributes

public long getTransAttributes()
Returns contents of the transAttributes field.


setTransAttributes

public void setTransAttributes(long transAttributes)
Sets the transAttributes field.


getAlgId

public long getAlgId()
Returns contents of the algId field.


setAlgId

public void setAlgId(long algId)
Sets the algId field.


getEncScheme

public int getEncScheme()
Returns contents of the encScheme field.


setEncScheme

public void setEncScheme(int encScheme)
Sets the encScheme field.