BALTECH SDK wrapper functions reference

§ brp_Desfire_CreateDam()

brp_errcode brp_Desfire_CreateDam ( brp_Desfire_CreateDam_t  params)

This command creates a delegated application.

Parameters
[in]paramsStruct with the following fields:
  • protocol used to execute the command
  • AppId (in) ID of application to select - range from 0x00000001 to 0x00FFFFFF.
  • AppParams (in) Paramters for the delegated application
  • AppParams_len (in) Length of AppParams (in bytes).
  • EncryptedDefaultDamKey (in) Encrypted default DAM key (usually provided by the card issuer)
  • EncryptedDefaultDamKey_len (in) Length of EncryptedDefaultDamKey (in bytes).
  • DamMacKey (in) Mac for DAM creation (usually provided by the card issuer)
  • DamMacKey_len (in) Length of DamMacKey (in bytes).