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

Object
  extended by TcBasicTypeDecoder
      extended by TcCompositeTypeDecoder
          extended by TcTpmIdentityProof

public class TcTpmIdentityProof
extends TcCompositeTypeDecoder

This structure contains fields that a privacy-CA requires in order to decide whether to attest to the given TPM identity.

TCPA 1.1b Main Specification, page number:
79

Constructor Summary
TcTpmIdentityProof()
          Constructor - see superclass for details
TcTpmIdentityProof(TcBlobData blob)
          Constructor - see superclass for details
TcTpmIdentityProof(TcBlobData blob, int offset)
          Constructor - see superclass for details
TcTpmIdentityProof(TcCompositeTypeDecoder composite)
          Constructor - see superclass for details
 
Method Summary
 TcBlobData getConformanceCredential()
          Returns contents of the conformanceCredential field.
 long getConformanceSize()
          Returns contents of the conformanceSize field.
 TcBlobData getEncoded()
          This method encodes the TPM_IDENTITY_PROOF as a byte blob.
 TcBlobData getEndorsementCredential()
          Returns contents of the endorsementCredential field.
 long getEndorsementSize()
          Returns contents of the endorsementSize field.
 TcBlobData getIdentityBinding()
          Returns contents of the identityBinding field.
 long getIdentityBindingSize()
          Returns contents of the identityBindingSize field.
 TcTpmPubkey getIdentityKey()
          Returns contents of the identityKey field.
 TcBlobData getLabelArea()
          Returns contents of the labelArea field.
 long getLabelSize()
          Returns contents of the labelSize field.
 TcBlobData getPlatformCredential()
          Returns contents of the platformCredential field.
 long getPlatformSize()
          Returns contents of the platformSize field.
 TcTpmVersion getVersion()
          Returns contents of the version field.
 void setConformanceCredential(TcBlobData conformanceCredential)
          Sets the conformanceCredential field.
 void setEndorsementCredential(TcBlobData endorsementCredential)
          Sets the endorsementCredential field.
 void setIdentityBinding(TcBlobData identityBinding)
          Sets the identityBinding field.
 void setIdentityKey(TcTpmPubkey identityKey)
          Sets the identityKey field.
 void setLabelArea(TcBlobData labelArea)
          Sets the labelArea field.
 void setPlatformCredential(TcBlobData platformCredential)
          Sets the platformCredential field.
 void setVersion(TcTpmStructVer version)
          Sets the version 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

TcTpmIdentityProof

public TcTpmIdentityProof()
Constructor - see superclass for details


TcTpmIdentityProof

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


TcTpmIdentityProof

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


TcTpmIdentityProof

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

Method Detail

getEncoded

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

getConformanceCredential

public TcBlobData getConformanceCredential()
Returns contents of the conformanceCredential field.


setConformanceCredential

public void setConformanceCredential(TcBlobData conformanceCredential)
Sets the conformanceCredential field.


getConformanceSize

public long getConformanceSize()
Returns contents of the conformanceSize field.


getEndorsementCredential

public TcBlobData getEndorsementCredential()
Returns contents of the endorsementCredential field.


setEndorsementCredential

public void setEndorsementCredential(TcBlobData endorsementCredential)
Sets the endorsementCredential field.


getEndorsementSize

public long getEndorsementSize()
Returns contents of the endorsementSize field.


getIdentityBinding

public TcBlobData getIdentityBinding()
Returns contents of the identityBinding field.


setIdentityBinding

public void setIdentityBinding(TcBlobData identityBinding)
Sets the identityBinding field.


getIdentityBindingSize

public long getIdentityBindingSize()
Returns contents of the identityBindingSize field.


getIdentityKey

public TcTpmPubkey getIdentityKey()
Returns contents of the identityKey field.


setIdentityKey

public void setIdentityKey(TcTpmPubkey identityKey)
Sets the identityKey field.


getLabelArea

public TcBlobData getLabelArea()
Returns contents of the labelArea field.


setLabelArea

public void setLabelArea(TcBlobData labelArea)
Sets the labelArea field.


getLabelSize

public long getLabelSize()
Returns contents of the labelSize field.


getPlatformCredential

public TcBlobData getPlatformCredential()
Returns contents of the platformCredential field.


setPlatformCredential

public void setPlatformCredential(TcBlobData platformCredential)
Sets the platformCredential field.


getPlatformSize

public long getPlatformSize()
Returns contents of the platformSize field.


getVersion

public TcTpmVersion getVersion()
Returns contents of the version field.


setVersion

public void setVersion(TcTpmStructVer version)
Sets the version field.