C API for BALTECH SDK

§ brp_Desfire_CreateDam()

brp_errcode brp_Desfire_CreateDam ( brp_protocol  protocol,
unsigned  AppId,
brp_buf  AppParams,
size_t  AppParams_len,
brp_buf  EncryptedDefaultDamKey,
size_t  EncryptedDefaultDamKey_len,
brp_buf  DamMacKey,
size_t  DamMacKey_len 
)

This command creates a delegated application

Parameters
[in]protocolused to execute the command
[in]AppIdID of application to select - range from 0x00000001 to 0x00FFFFFF.
[in]AppParamsParamters for the delegated application
[in]AppParams_len
[in]EncryptedDefaultDamKeyEncrypted default DAM key (usually provided by the card issuer)
[in]EncryptedDefaultDamKey_len
[in]DamMacKeyMac for DAM creation (usually provided by the card issuer)
[in]DamMacKey_len