Fapi_Delete(3)

πŸŽ€ Fapi_Delete(3) β€” Library Functions Manual πŸŽ€

okay bestie, this is the Fapi_Delete(3) page from the Library Functions Manual, and it's all about deleting stuff through FAPI. slay. πŸ’…

🌸 NAME 🌸

Fapi_Delete β€” Fapi_Delete

✨ SYNOPSIS ✨

Functions:

TSS2_RC Fapi_Delete (FAPI_CONTEXT *context, char const *path)
TSS2_RC Fapi_Delete_Async (FAPI_CONTEXT *context, char const *path)
TSS2_RC Fapi_Delete_Finish (FAPI_CONTEXT *context)

πŸ’– Detailed Description πŸ’–

FAPI functions to invoke Delete either as one-call or in an asynchronous manner. iconic behavior honestly ✨

πŸ“š Function Documentation πŸ“š

TSS2_RC Fapi_Delete (FAPI_CONTEXT * context, char const * path)

One-Call function for Fapi_Delete.

Deletes a given key, policy or NV index from the system. πŸ—‘οΈβœ¨

Parameters

  • context β€” The ESAPI_CONTEXT
  • path β€” The path to the entity that is to be deleted

Return values

  • TSS2_RC_SUCCESS β€” if the function call was a success.
  • TSS2_FAPI_RC_BAD_REFERENCE β€” if context or path is NULL.
  • TSS2_FAPI_RC_BAD_CONTEXT β€” if context corruption is detected.
  • TSS2_FAPI_RC_BAD_PATH β€” if path cannot be deleted.
  • TSS2_FAPI_RC_NOT_DELETABLE β€” if the entity is not deletable or the path is read-only.
  • TSS2_FAPI_RC_BAD_SEQUENCE β€” if the context has an asynchronous operation already pending.
  • TSS2_FAPI_RC_IO_ERROR β€” if the data cannot be saved.
  • TSS2_FAPI_RC_MEMORY β€” if the FAPI cannot allocate enough memory for internal operations or return parameters.
  • TSS2_FAPI_RC_NO_TPM β€” if FAPI was initialized in no-TPM-mode via its config file.
  • TSS2_FAPI_RC_PATH_NOT_FOUND β€” if a FAPI object path was not found during authorization.
  • TSS2_FAPI_RC_KEY_NOT_FOUND β€” if a key was not found.
  • TSS2_FAPI_RC_BAD_VALUE β€” if an invalid value was passed into the function.
  • TSS2_FAPI_RC_TRY_AGAIN β€” if an I/O operation is not finished yet and this function needs to be called again.
  • TSS2_FAPI_RC_GENERAL_FAILURE β€” if an internal error occurred.
  • TSS2_FAPI_RC_AUTHORIZATION_UNKNOWN β€” if a required authorization callback is not set.
  • TSS2_FAPI_RC_AUTHORIZATION_FAILED β€” if the authorization attempt fails.
  • TSS2_FAPI_RC_POLICY_UNKNOWN β€” if policy search for a certain policy digest was not successful.
  • TSS2_ESYS_RC_* β€” possible error codes of ESAPI.
  • TSS2_FAPI_RC_NOT_PROVISIONED β€” FAPI was not provisioned.

TSS2_RC Fapi_Delete_Async (FAPI_CONTEXT * context, char const * path)

Asynchronous function for Fapi_Delete.

Deletes a given key, policy or NV index from the system. πŸ—‘οΈβœ¨

Call Fapi_Delete_Finish to finish the execution of this command. iykyk 🫢

Parameters

  • context β€” The ESAPI_CONTEXT
  • path β€” The path to the entity that is to be deleted

Return values

  • TSS2_RC_SUCCESS β€” if the function call was a success.
  • TSS2_FAPI_RC_BAD_REFERENCE β€” if context or path is NULL.
  • TSS2_FAPI_RC_BAD_CONTEXT β€” if context corruption is detected.
  • TSS2_FAPI_RC_BAD_PATH β€” if path does not map to a FAPI entity.
  • TSS2_FAPI_RC_NOT_DELETABLE β€” if the entity is not deletable or the path is read-only.
  • TSS2_FAPI_RC_BAD_SEQUENCE β€” if the context has an asynchronous operation already pending.
  • TSS2_FAPI_RC_IO_ERROR β€” if the data cannot be saved.
  • TSS2_FAPI_RC_MEMORY β€” if the FAPI cannot allocate enough memory for internal operations or return parameters.
  • TSS2_FAPI_RC_NO_TPM β€” if FAPI was initialized in no-TPM-mode via its config file.
  • TSS2_FAPI_RC_PATH_NOT_FOUND β€” if a FAPI object path was not found during authorization.
  • TSS2_FAPI_RC_KEY_NOT_FOUND β€” if a key was not found.
  • TSS2_FAPI_RC_BAD_VALUE β€” if an invalid value was passed into the function.
  • TSS2_ESYS_RC_* β€” possible error codes of ESAPI.
  • TSS2_FAPI_RC_NOT_PROVISIONED β€” FAPI was not provisioned.
  • TSS2_FAPI_RC_GENERAL_FAILURE β€” if an internal error occurred.

TSS2_RC Fapi_Delete_Finish (FAPI_CONTEXT * context)

Asynchronous finish function for Fapi_Delete.

This function should be called after a previous Fapi_Delete_Async. the way that sequencing matters 😭✨

Parameters

  • context β€” The FAPI_CONTEXT

Return values

  • TSS2_RC_SUCCESS β€” if the function call was a success.
  • TSS2_FAPI_RC_BAD_REFERENCE β€” if context is NULL.
  • TSS2_FAPI_RC_BAD_CONTEXT β€” if context corruption is detected.
  • TSS2_FAPI_RC_BAD_SEQUENCE β€” if the context has an asynchronous operation already pending.
  • TSS2_FAPI_RC_IO_ERROR β€” if the data cannot be saved.
  • TSS2_FAPI_RC_MEMORY β€” if the FAPI cannot allocate enough memory for internal operations or return parameters.
  • TSS2_FAPI_RC_TRY_AGAIN β€” if the asynchronous operation is not yet complete. Call this function again later.
  • TSS2_FAPI_RC_GENERAL_FAILURE β€” if an internal error occurred.
  • TSS2_FAPI_RC_BAD_VALUE β€” if an invalid value was passed into the function.
  • TSS2_FAPI_RC_PATH_NOT_FOUND β€” if a FAPI object path was not found during authorization.
  • TSS2_FAPI_RC_KEY_NOT_FOUND β€” if a key was not found.
  • TSS2_FAPI_RC_AUTHORIZATION_UNKNOWN β€” if a required authorization callback is not set.
  • TSS2_FAPI_RC_AUTHORIZATION_FAILED β€” if the authorization attempt fails.
  • TSS2_FAPI_RC_POLICY_UNKNOWN β€” if policy search for a certain policy digest was not successful.
  • TSS2_ESYS_RC_* β€” possible error codes of ESAPI.
  • TSS2_FAPI_RC_NOT_PROVISIONED β€” FAPI was not provisioned.
  • TSS2_FAPI_RC_BAD_PATH β€” if the path is used in inappropriate context or contains illegal characters.

✍️ Author ✍️

Generated automatically by Doxygen for tpm2-tss from the source code. no cap, the robots wrote this one πŸ€–πŸ’–


with all the love from the source code, this cutie is tpm2-tss, Version 4.1.5 πŸ’–βœ¨πŸ‘‘

πŸ“¦ where this page comes from