VhlCfg / File / DesfireFormatAppMasterkeyIdx Value

This entry is only needed for running VHLFormat() and specifies a list of indices to application master keys. The first entry in the list specifies the new application master key the others existing application master keys.

Properties

Format

Name Type/Size Description
- Array (until end of frame) -
ApplicationKeyIdx Integer (8 bits) Index to application master key.
This entry refers to a crypto key. Normally the value works as explaind below. If the configuration value DesfireMapKeyIdx exists, the meaning of this entry changes. Please refer to DesfireMapKeyIdx
  • 0x00-0x7F: index to SAM key, key version has to be 0
  • 0x80-0xBF: index to key defined in crypto memory of the reader: Device/CryptoKey
  • 0xC0-0xCB: index to key defined in VHL file: DesfireKeyList
  • 0xFE: legacy, use transport key 0xFF: key index unused

(Minimum value: 0x00, maximum value: 0xFE)