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

Object
  extended by TcBasicTypeDecoder
      extended by TcCompositeTypeDecoder
          extended by TcTpmKey
              extended by TcTpmKeyNew
All Implemented Interfaces:
TcITpmKey, TcITpmKeyNew

public class TcTpmKeyNew
extends TcTpmKey
implements TcITpmKeyNew

This class extends TcTpmKey. The only difference is that both, encData and encDataSize are set to 0 (UINT32). This is a requirement for a new key (i.e. a key to be created inside the TPM).


Constructor Summary
TcTpmKeyNew()
          Constructor - see superclass for details
TcTpmKeyNew(TcBlobData blob)
          Constructor - see superclass for details
TcTpmKeyNew(TcBlobData blob, int offset)
          Constructor - see superclass for details
TcTpmKeyNew(TcCompositeTypeDecoder composite)
          Constructor - see superclass for details
 
Method Summary
 TcBlobData getEncoded()
          This method encodes the TPM_KEY_PARMS as a byte blob.
 
Methods inherited from class TcTpmKey
getAlgorithmParms, getAuthDataUsage, getEncData, getEncSize, getKeyFlags, getKeyUsage, getPcrInfo, getPcrInfoSize, getPubKey, getVer, setAlgorithmParms, setAuthDataUsage, setEncData, setKeyFlags, setKeyUsage, setPcrInfo, setPubKey, setVer, toString
 
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
 
Methods inherited from interface TcITpmKey
getAlgorithmParms, getAuthDataUsage, getEncData, getEncSize, getKeyFlags, getKeyUsage, getPcrInfo, getPcrInfoSize, getPubKey, setAlgorithmParms, setAuthDataUsage, setEncData, setKeyFlags, setKeyUsage, setPcrInfo, setPubKey, toString
 

Constructor Detail

TcTpmKeyNew

public TcTpmKeyNew()
Constructor - see superclass for details


TcTpmKeyNew

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


TcTpmKeyNew

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


TcTpmKeyNew

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

Method Detail

getEncoded

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

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