VhlCfg / File / DesfireEv2FormatAppKeysetKeylist Value

This entry specifies all parameters to initialize multiple keysets of an application

Properties

Format

Name Type/Size Description
KeysetList Array (until end of frame) -
Keyset Integer (8 bits) Number of the keyset to be programmed
(Minimum value: 0x01, maximum value: 0x0F)
KeysetVersion Integer (8 bits) Keyset version of the keyset to be programmed.
KeysetType Enumeration (8 bits) Key type of the key set to be programmed.
Values:
  • TripleDESKey (0x00)
    Key type of the keyset is 3-DES.
  • ThreeKeyTripleDESKey (0x01)
    Key type of the keyset is 3K3-DES.
  • AESKey (0x02)
    Key type of the keyset is AES.
Length of KeyList Integer (8 bits) Number of elements in the KeyList array
KeyList Array List of key entries for all keys within a keyset starting from key 0 (App Master key)
KeyIdx Integer (8 bits)
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)