parameters: (self, authHandle, enable, state)
return_statement: return self.processResponse(respBuf)
docstring: This command enables and disables use of a hierarchy and its
          associated NV storage. The command allows phEnable, phEnableNV,
          shEnable, and ehEnable to be changed when the proper authorization is provided.
  
          Args:
              authHandle (TPM_HANDLE): TPM_RH_ENDORSEMENT, TPM_RH_OWNER or
                  TPM_RH_PLATFORM+{PP}
                  Auth Index: 1
                  Auth Role: USER
              enable (TPM_HANDLE): The enable being modified
                  TPM_RH_ENDORSEMENT, TPM_RH_OWNER, TPM_RH_PLATFORM, or
                  TPM_RH_PLATFORM_NV
              state (int): YES if the enable should be SET, NO if the enable
                  should be CLEAR
docstring_summary: This command enables and disables use of a hierarchy and its
          associated NV storage. The command allows phEnable, phEnableNV,
          shEnable, and ehEnable to be changed when the proper authorization is provided.
docstring_tokens: This command enables and disables use of a hierarchy and its associated NV storage . The command allows phEnable phEnableNV shEnable and ehEnable to be changed when the proper authorization is provided .
function: def HierarchyControl(self, authHandle, enable, state):
          """ This command enables and disables use of a hierarchy and its
          associated NV storage. The command allows phEnable, phEnableNV,
          shEnable, and ehEnable to be changed when the proper authorization is provided.
  
          Args:
              authHandle (TPM_HANDLE): TPM_RH_ENDORSEMENT, TPM_RH_OWNER or
                  TPM_RH_PLATFORM+{PP}
                  Auth Index: 1
                  Auth Role: USER
              enable (TPM_HANDLE): The enable being modified
                  TPM_RH_ENDORSEMENT, TPM_RH_OWNER, TPM_RH_PLATFORM, or
                  TPM_RH_PLATFORM_NV
              state (int): YES if the enable should be SET, NO if the enable
                  should be CLEAR
          """
          req = TPM2_HierarchyControl_REQUEST(authHandle, enable, state)
          respBuf = self.dispatchCommand(TPM_CC.HierarchyControl, req)
          return self.processResponse(respBuf)
function_tokens: def HierarchyControl ( self , authHandle , enable , state ) : req = TPM2_HierarchyControl_REQUEST ( authHandle , enable , state ) respBuf = self . dispatchCommand ( TPM_CC . HierarchyControl , req ) return self . processResponse ( respBuf )