Function anj_crypto_storage_delete_record

Function Documentation

int anj_crypto_storage_delete_record(void *crypto_ctx, const anj_crypto_security_info_t *info)

Deletes a security record.

This function removes the certificate, key, or other security information identified by info. After successful deletion, the record should no longer be retrievable through this API.

Parameters:
  • crypto_ctx – Cryptographic context.

  • info – Identifier of the security record to delete.

Returns:

0 on success, or a negative value on failure.