Function desfire::fs::does_app_exist

Function Documentation

result<bool> desfire::fs::does_app_exist(tag &tag, app_id aid)

Searches for an app aid in the list of applications. This method uses tag::get_application_ids to retrieve the list of files, therefore the root app must allow listing, either with the root key or by having key_rights::dir_access_without_auth set to true. 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 search for.

Returns:

A boolean representing whether the app was found or not, or any error returned by tag::get_application_ids.