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

Object
  extended by TcBasicTypeDecoder
      extended by TcCompositeTypeDecoder
          extended by TcTpmIdentityContents

public class TcTpmIdentityContents
extends TcCompositeTypeDecoder

TPM_MakeIdentity uses this structure and the signature of this structure goes to a privacy CA during the certification process.

TCPA 1.1b Main Specification, page number:
77

Constructor Summary
TcTpmIdentityContents()
          Constructor - see superclass for details
TcTpmIdentityContents(TcBlobData blob)
          Constructor - see superclass for details
TcTpmIdentityContents(TcBlobData blob, int offset)
          Constructor - see superclass for details
TcTpmIdentityContents(TcCompositeTypeDecoder composite)
          Constructor - see superclass for details
 
Method Summary
 TcBlobData getEncoded()
          This method encodes the TPM_IDENTITY_CONTENTS as a byte blob.
 TcTpmPubkey getIdentityPubKey()
          Returns contents of the identityPubKey field.
 TcTpmDigest getLabelPrivCADigest()
          Returns contents of the labelPrivCADigest field.
 long getOrdinal()
          Returns contents of the ordinal field.
 TcTpmVersion getVer()
          Returns contents of the ver field.
 void setIdentityPubKey(TcTpmPubkey identityPubKey)
          Sets the identityPubKey field.
 void setLabelPrivCADigest(TcTpmDigest labelPrivCADigest)
          Sets the labelPrivCADigest field.
 void setOrdinal(long ordinal)
          Sets the ordinal field.
 void setVer(TcTpmStructVer ver)
          Sets the ver 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

TcTpmIdentityContents

public TcTpmIdentityContents()
Constructor - see superclass for details


TcTpmIdentityContents

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


TcTpmIdentityContents

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


TcTpmIdentityContents

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

Method Detail

getEncoded

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

getIdentityPubKey

public TcTpmPubkey getIdentityPubKey()
Returns contents of the identityPubKey field.


setIdentityPubKey

public void setIdentityPubKey(TcTpmPubkey identityPubKey)
Sets the identityPubKey field.


getLabelPrivCADigest

public TcTpmDigest getLabelPrivCADigest()
Returns contents of the labelPrivCADigest field.


setLabelPrivCADigest

public void setLabelPrivCADigest(TcTpmDigest labelPrivCADigest)
Sets the labelPrivCADigest field.


getOrdinal

public long getOrdinal()
Returns contents of the ordinal field.


setOrdinal

public void setOrdinal(long ordinal)
Sets the ordinal field.


getVer

public TcTpmVersion getVer()
Returns contents of the ver field.


setVer

public void setVer(TcTpmStructVer ver)
Sets the ver field.