VhlCfg / File / DesfirePiccMasterKeys Value

This entry is only needed for running VHLFormat() and specifies the key index for the PICC master key.

Properties

Format

Name Type/Size Description
- Array (until end of frame) -
PiccMasterkeyIdx Integer (8 bits) Index to the card master key. The first entry in the list specifies the new card master key, all others existing card master keys.
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)