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

Object
  extended by TcBasicTypeDecoder
      extended by TcCompositeTypeDecoder
          extended by TcTpmIdentityReq

public class TcTpmIdentityReq
extends TcCompositeTypeDecoder

This structure is sent by the TSS to the Privacy CA to create the identity credential.

TCPA 1.1b Main Specification, page number:
78

Constructor Summary
TcTpmIdentityReq()
          Constructor - see superclass for details
TcTpmIdentityReq(TcBlobData blob)
          Constructor - see superclass for details
TcTpmIdentityReq(TcBlobData blob, int offset)
          Constructor - see superclass for details
TcTpmIdentityReq(TcCompositeTypeDecoder composite)
          Constructor - see superclass for details
 
Method Summary
 TcTpmKeyParms getAsymAlgorithm()
          Returns contents of the asymAlgorithm field.
 TcBlobData getAsymBlob()
          Returns contents of the asymBlob field.
 long getAsymSize()
          Returns contents of the asymSize field.
 TcBlobData getEncoded()
          This method encodes the TPM_IDENTITY_REQ as a byte blob.
 TcTpmKeyParms getSymAlgorithm()
          Returns contents of the symAlgorithm field.
 TcBlobData getSymBlob()
          Returns contents of the symBlob field.
 long getSymSize()
          Returns contents of the symSize field.
 void setAsymAlgorithm(TcTpmKeyParms asymAlgorithm)
          Sets the asymAlgorithm field.
 void setAsymBlob(TcBlobData asymBlob)
          Sets the asymBlob field.
 void setSymAlgorithm(TcTpmKeyParms symAlgorithm)
          Sets the symAlgorithm field.
 void setSymBlob(TcBlobData symBlob)
          Sets the symBlob 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

TcTpmIdentityReq

public TcTpmIdentityReq()
Constructor - see superclass for details


TcTpmIdentityReq

public TcTpmIdentityReq(TcBlobData blob)
Constructor - see superclass for details


TcTpmIdentityReq

public TcTpmIdentityReq(TcBlobData blob,
                        int offset)
Constructor - see superclass for details


TcTpmIdentityReq

public TcTpmIdentityReq(TcCompositeTypeDecoder composite)
Constructor - see superclass for details

Method Detail

getEncoded

public TcBlobData getEncoded()
This method encodes the TPM_IDENTITY_REQ 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

getAsymAlgorithm

public TcTpmKeyParms getAsymAlgorithm()
Returns contents of the asymAlgorithm field.


setAsymAlgorithm

public void setAsymAlgorithm(TcTpmKeyParms asymAlgorithm)
Sets the asymAlgorithm field.


getAsymBlob

public TcBlobData getAsymBlob()
Returns contents of the asymBlob field.


setAsymBlob

public void setAsymBlob(TcBlobData asymBlob)
Sets the asymBlob field.


getAsymSize

public long getAsymSize()
Returns contents of the asymSize field.


getSymAlgorithm

public TcTpmKeyParms getSymAlgorithm()
Returns contents of the symAlgorithm field.


setSymAlgorithm

public void setSymAlgorithm(TcTpmKeyParms symAlgorithm)
Sets the symAlgorithm field.


getSymBlob

public TcBlobData getSymBlob()
Returns contents of the symBlob field.


setSymBlob

public void setSymBlob(TcBlobData symBlob)
Sets the symBlob field.


getSymSize

public long getSymSize()
Returns contents of the symSize field.