BALTECH Docs |
C API for BALTECH SDK
|
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.
[in] | protocol | used to execute the command |
[in] | AppId | ID of application to select - range from 0x00000001 to 0x00FFFFFF. |
[in] | AppParams | Paramters for the delegated application |
[in] | AppParams_len | |
[in] | EncryptedDefaultDamKey | Encrypted default DAM key (usually provided by the card issuer) |
[in] | EncryptedDefaultDamKey_len | |
[in] | DamMacKey | Mac for DAM creation (usually provided by the card issuer) |
[in] | DamMacKey_len |