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

Object
  extended by TcBasicTypeDecoder
      extended by TcCompositeTypeDecoder
          extended by TcTpmPermanentFlags

public class TcTpmPermanentFlags
extends TcCompositeTypeDecoder


Constructor Summary
TcTpmPermanentFlags()
          Constructor - see superclass for details
TcTpmPermanentFlags(TcBlobData data)
          Constructor - see superclass for details
TcTpmPermanentFlags(TcBlobData data, int offset)
          Constructor - see superclass for details
TcTpmPermanentFlags(TcCompositeTypeDecoder composite)
          Constructor - see superclass for details
 
Method Summary
 boolean getAllowMaintenance()
          Returns contents of the allowMaintenance field.
 boolean getCEKPUsed()
          Returns contents of the CEKPUsed field.
 boolean getDeactivated()
          Returns contents of the deactivated field.
 boolean getDisable()
          Returns contents of the disable field.
 boolean getDisableOwnerClear()
          Returns contents of the disableOwnerClear field.
 boolean getEnableRevokeEK()
          Returns contents of the enableRevokeEK field.
 TcBlobData getEncoded()
          This method encodes the TPM_PERMANENT_FLAGS as a byte blob.
 boolean getFIPS()
          Returns contents of the FIPS field.
 boolean getMaintenanceDone()
          Returns contents of the maintenanceDone field.
 boolean getNvLocked()
          Returns contents of the nvLocked field.
 boolean getOperator()
          Returns contents of the Operator field.
 boolean getOwnership()
          Returns contents of the ownership field.
 boolean getPhysicalPresenceCMDEnable()
          Returns contents of the physicalPresenceCMDEnable field.
 boolean getPhysicalPresenceHWEnable()
          Returns contents of the physicalPresenceHWEnable field.
 boolean getPhysicalPresenceLifetimeLock()
          Returns contents of the physicalPresenceLifetimeLock field.
 boolean getReadPubek()
          Returns contents of the readPubek field.
 boolean getReadSRKPub()
          Returns contents of the readSRKPub field.
 int getTag()
          Returns contents of the tag field.
 boolean getTpmEstablished()
          Returns contents of the tpmEstablished field.
 boolean getTPMpost()
          Returns contents of the TPMpost field.
 boolean getTPMpostLock()
          Returns contents of the TPMpostLock field.
 void setAllowMaintenance(boolean allowMaintenance)
          Sets the allowMaintenance field.
 void setCEKPUsed(boolean CEKPUsed)
          Sets the CEKPUsed field.
 void setDeactivated(boolean deactivated)
          Sets the deactivated field.
 void setDisable(boolean disable)
          Sets the disable field.
 void setDisableOwnerClear(boolean disableOwnerClear)
          Sets the disableOwnerClear field.
 void setEnableRevokeEK(boolean enableRevokeEK)
          Sets the enableRevokeEK field.
 void setFIPS(boolean FIPS)
          Sets the FIPS field.
 void setMaintenanceDone(boolean maintenanceDone)
          Sets the maintenanceDone field.
 void setNvLocked(boolean nvLocked)
          Sets the nvLocked field.
 void setOperator(boolean Operator)
          Sets the Operator field.
 void setOwnership(boolean ownership)
          Sets the ownership field.
 void setPhysicalPresenceCMDEnable(boolean physicalPresenceCMDEnable)
          Sets the physicalPresenceCMDEnable field.
 void setPhysicalPresenceHWEnable(boolean physicalPresenceHWEnable)
          Sets the physicalPresenceHWEnable field.
 void setPhysicalPresenceLifetimeLock(boolean physicalPresenceLifetimeLock)
          Sets the physicalPresenceLifetimeLock field.
 void setReadPubek(boolean readPubek)
          Sets the readPubek field.
 void setReadSRKPub(boolean readSRKPub)
          Sets the readSRKPub field.
 void setTag(int tag)
          Sets the tag field.
 void setTpmEstablished(boolean tpmEstablished)
          Sets the tpmEstablished field.
 void setTPMpost(boolean TPMpost)
          Sets the TPMpost field.
 void setTPMpostLock(boolean TPMpostLock)
          Sets the TPMpostLock 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

TcTpmPermanentFlags

public TcTpmPermanentFlags()
Constructor - see superclass for details

See Also:
TcCompositeTypeDecoder.TcCompositeTypeDecoder()

TcTpmPermanentFlags

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

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

TcTpmPermanentFlags

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

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

TcTpmPermanentFlags

public TcTpmPermanentFlags(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_PERMANENT_FLAGS 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

getTag

public int getTag()
Returns contents of the tag field.


setTag

public void setTag(int tag)
Sets the tag field.


getDisable

public boolean getDisable()
Returns contents of the disable field.


setDisable

public void setDisable(boolean disable)
Sets the disable field.


getOwnership

public boolean getOwnership()
Returns contents of the ownership field.


setOwnership

public void setOwnership(boolean ownership)
Sets the ownership field.


getDeactivated

public boolean getDeactivated()
Returns contents of the deactivated field.


setDeactivated

public void setDeactivated(boolean deactivated)
Sets the deactivated field.


getReadPubek

public boolean getReadPubek()
Returns contents of the readPubek field.


setReadPubek

public void setReadPubek(boolean readPubek)
Sets the readPubek field.


getDisableOwnerClear

public boolean getDisableOwnerClear()
Returns contents of the disableOwnerClear field.


setDisableOwnerClear

public void setDisableOwnerClear(boolean disableOwnerClear)
Sets the disableOwnerClear field.


getAllowMaintenance

public boolean getAllowMaintenance()
Returns contents of the allowMaintenance field.


setAllowMaintenance

public void setAllowMaintenance(boolean allowMaintenance)
Sets the allowMaintenance field.


getPhysicalPresenceLifetimeLock

public boolean getPhysicalPresenceLifetimeLock()
Returns contents of the physicalPresenceLifetimeLock field.


setPhysicalPresenceLifetimeLock

public void setPhysicalPresenceLifetimeLock(boolean physicalPresenceLifetimeLock)
Sets the physicalPresenceLifetimeLock field.


getPhysicalPresenceHWEnable

public boolean getPhysicalPresenceHWEnable()
Returns contents of the physicalPresenceHWEnable field.


setPhysicalPresenceHWEnable

public void setPhysicalPresenceHWEnable(boolean physicalPresenceHWEnable)
Sets the physicalPresenceHWEnable field.


getPhysicalPresenceCMDEnable

public boolean getPhysicalPresenceCMDEnable()
Returns contents of the physicalPresenceCMDEnable field.


setPhysicalPresenceCMDEnable

public void setPhysicalPresenceCMDEnable(boolean physicalPresenceCMDEnable)
Sets the physicalPresenceCMDEnable field.


getCEKPUsed

public boolean getCEKPUsed()
Returns contents of the CEKPUsed field.


setCEKPUsed

public void setCEKPUsed(boolean CEKPUsed)
Sets the CEKPUsed field.


getTPMpost

public boolean getTPMpost()
Returns contents of the TPMpost field.


setTPMpost

public void setTPMpost(boolean TPMpost)
Sets the TPMpost field.


getTPMpostLock

public boolean getTPMpostLock()
Returns contents of the TPMpostLock field.


setTPMpostLock

public void setTPMpostLock(boolean TPMpostLock)
Sets the TPMpostLock field.


getFIPS

public boolean getFIPS()
Returns contents of the FIPS field.


setFIPS

public void setFIPS(boolean FIPS)
Sets the FIPS field.


getOperator

public boolean getOperator()
Returns contents of the Operator field.


setOperator

public void setOperator(boolean Operator)
Sets the Operator field.


getEnableRevokeEK

public boolean getEnableRevokeEK()
Returns contents of the enableRevokeEK field.


setEnableRevokeEK

public void setEnableRevokeEK(boolean enableRevokeEK)
Sets the enableRevokeEK field.


getNvLocked

public boolean getNvLocked()
Returns contents of the nvLocked field.


setNvLocked

public void setNvLocked(boolean nvLocked)
Sets the nvLocked field.


getReadSRKPub

public boolean getReadSRKPub()
Returns contents of the readSRKPub field.


setReadSRKPub

public void setReadSRKPub(boolean readSRKPub)
Sets the readSRKPub field.


getTpmEstablished

public boolean getTpmEstablished()
Returns contents of the tpmEstablished field.


setTpmEstablished

public void setTpmEstablished(boolean tpmEstablished)
Sets the tpmEstablished field.


getMaintenanceDone

public boolean getMaintenanceDone()
Returns contents of the maintenanceDone field.


setMaintenanceDone

public void setMaintenanceDone(boolean maintenanceDone)
Sets the maintenanceDone field.