Function desfire::fs::delete_app_if_exists
Defined in File fs.hpp
Function Documentation
-
result desfire::fs::delete_app_if_exists(tag &tag, app_id aid)
Deletes app in if it exists. This uses does_app_exist to check for existence before calling tag::delete_application, therefore the card settings must allow a call to tag::get_application_ids. The caller is responsible for selecting the root app and authenticating. No change in app and authentication is performed by this method.
- Parameters:
tag – Tag on which to operate.
aid – App to delete.
- Returns:
Either
mlab::result_success
or any of the error codes returned by tag::get_application_ids or tag::delete_application.