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

Object
  extended by TcBasicTypeDecoder
      extended by TcCompositeTypeDecoder
          extended by TcTpmKey12
              extended by TcTpmKey12New
All Implemented Interfaces:
TcITpmKey, TcITpmKeyNew

public class TcTpmKey12New
extends TcTpmKey12
implements TcITpmKeyNew

This class extends TcTpmKey. The only differnece 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
TcTpmKey12New()
          Constructor - see superclass for details
TcTpmKey12New(TcBlobData data)
          Constructor - see superclass for details
TcTpmKey12New(TcBlobData data, int offset)
          Constructor - see superclass for details
TcTpmKey12New(TcCompositeTypeDecoder composite)
          Constructor - see superclass for details
 
Method Summary
 TcBlobData getEncoded()
          This method encodes the TPM_KEY12 as a byte blob.
 
Methods inherited from class TcTpmKey12
getAlgorithmParms, getAuthDataUsage, getEncData, getEncSize, getFill, getKeyFlags, getKeyUsage, getPcrInfo, getPcrInfoSize, getPubKey, getTag, setAlgorithmParms, setAuthDataUsage, setEncData, setFill, setKeyFlags, setKeyUsage, setPcrInfo, setPubKey, setTag, 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

TcTpmKey12New

public TcTpmKey12New()
Constructor - see superclass for details

See Also:
TcCompositeTypeDecoder.TcCompositeTypeDecoder()

TcTpmKey12New

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

See Also:
TcCompositeTypeDecoder.TcCompositeTypeDecoder(iaik.tc.tss.api.structs.common.TcBlobData)

TcTpmKey12New

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

See Also:
TcCompositeTypeDecoder.TcCompositeTypeDecoder(iaik.tc.tss.api.structs.common.TcBlobData, int)

TcTpmKey12New

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

See Also:
TcCompositeTypeDecoder.TcCompositeTypeDecoder(iaik.tc.tss.api.structs.common.TcCompositeTypeDecoder)
Method Detail

getEncoded

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

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