Desfire.CreateDam
This command creates a delegated application
Properties
- Command code: 0x1B08
- Command timeout: 2000 ms
- Possible status codes: General status codes, Desfire.ErrIso14NoTag, Desfire.ErrBreak, Desfire.ErrIso14Hf, Desfire.ErrIso14CardInvalid, Desfire.ErrReaderChipCommunication, Desfire.ErrIso14ApduCmd, Desfire.ErrIso14InvalidResponse, Desfire.ErrIntegrity, Desfire.ErrPcdKey, Desfire.ErrNoChanges, Desfire.ErrPcdParam, Desfire.ErrFirmwareNotSupported, Desfire.ErrSamCommunication, Desfire.ErrSamUnlock, Desfire.ErrHardwareNotSupported, Desfire.ErrLength, Desfire.ErrPermissionDenied, Desfire.ErrParameter, Desfire.ErrAppIntegrity, Desfire.ErrAuthentication, Desfire.ErrPiccIntegrity, Desfire.ErrCommandAborted, Desfire.ErrPiccDisabled, Desfire.ErrEeprom, Desfire.ErrNoSuchKey, Desfire.ErrOutOfMemory, Desfire.ErrIllegalCmd, Desfire.ErrCmdOverflow, Desfire.ErrIllegalCmdLegacy
Parameters (request frame)
Name | Type/Size | Description |
---|---|---|
AppId | Integer (32 bits) | ID of application to select - range from 0x00000001 to 0x00FFFFFF. |
Length of AppParams | Integer (8 bits) |
Length of AppParams in bytes |
AppParams | Raw data | Paramters for the delegated application |
Length of EncryptedDefaultDamKey | Integer (8 bits) |
Length of EncryptedDefaultDamKey in bytes |
EncryptedDefaultDamKey | Raw data | Encrypted default DAM key (usually provided by the card issuer) |
Length of DamMacKey | Integer (8 bits) |
Length of DamMacKey in bytes |
DamMacKey | Raw data | Mac for DAM creation (usually provided by the card issuer) |
Returned values (response frame)
None