Function desfire::fs::login_app

Function Documentation

result desfire::fs::login_app(tag &tag, app_id aid, any_key const &key)

Selects the app and authenticates to it with the given key. This method is a shorthand for tag::select_application and tag::authenticate.

Parameters:
  • tag – Tag on which to operate.

  • aid – Application id to select.

  • key – Key to use for authentication to aid.

Returns:

Either mlab::result_success, or any of the error codes returned by tag::select_application and tag::authenticate.