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

java.lang.Object
  extended by iaik.tc.tss.api.structs.common.TcBasicTypeDecoder
      extended by iaik.tc.tss.api.structs.common.TcCompositeTypeDecoder
          extended by iaik.tc.tss.api.structs.tpm.TcTpmSymCaAttestation

public class TcTpmSymCaAttestation
extends TcCompositeTypeDecoder

This structure is returned by the Privacy CA with the encrypted identity credential.

TCPA 1.1b Main Specification, page number:
81

Constructor Summary
TcTpmSymCaAttestation()
          Constructor - see superclass for details
TcTpmSymCaAttestation(TcBlobData data)
          Constructor - see superclass for details
TcTpmSymCaAttestation(TcBlobData data, int offset)
          Constructor - see superclass for details
TcTpmSymCaAttestation(TcCompositeTypeDecoder composite)
          Constructor - see superclass for details
 
Method Summary
 TcTpmKeyParms getAlgorithm()
          Returns contents of the algorithm field.
 TcBlobData getCredential()
          Returns contents of the credential field.
 long getCredSize()
          Returns contents of the credSize field.
 TcBlobData getEncoded()
          This method encodes the TPM_SYM_CA_ATTESTATION as a byte blob.
 void setAlgorithm(TcTpmKeyParms algoritm)
          Sets the algorithm field.
 void setCredential(TcBlobData credential)
          Sets the credential field.
 java.lang.String toString()
          This method returns a String representation of the object.
 
Methods inherited from class iaik.tc.tss.api.structs.common.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 java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TcTpmSymCaAttestation

public TcTpmSymCaAttestation()
Constructor - see superclass for details


TcTpmSymCaAttestation

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


TcTpmSymCaAttestation

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


TcTpmSymCaAttestation

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

Method Detail

getEncoded

public TcBlobData getEncoded()
This method encodes the TPM_SYM_CA_ATTESTATION as a byte blob.

Specified by:
getEncoded in class TcCompositeTypeDecoder
Returns:
byte blob to be passed to other layers (e.g. TSS)

toString

public java.lang.String toString()
This method returns a String representation of the object.

Overrides:
toString in class TcCompositeTypeDecoder

getAlgorithm

public TcTpmKeyParms getAlgorithm()
Returns contents of the algorithm field.


setAlgorithm

public void setAlgorithm(TcTpmKeyParms algoritm)
Sets the algorithm field.


getCredential

public TcBlobData getCredential()
Returns contents of the credential field.


setCredential

public void setCredential(TcBlobData credential)
Sets the credential field.


getCredSize

public long getCredSize()
Returns contents of the credSize field.