VhlCfg / File / MifarePlusFormatCardMasterKeyList Value

This value is used by Mifare plus firmware only. It is used by VHL-Format() and changes the card master key itself and all keys with can be changed with the card master key. It contains 2 byte key index entries to: A key index not used has to be set to 0xFF 0xFF.

Properties

Format

Name Type/Size Description
OldCardMasterKeyMemoryType Enumeration (8 bits) This value references a key memory type within the reader. VHL detects the security level (SL0..3) of a MIFARE Classic/Plus card automatically. According to the security level, the adequate key memories (AES and/or MIFARE keys) are chosen.
Values:
  • CryptoKey (0x00)
    References keys within the CryptoKey memory.
    Key offset needed: refer to MifarePlusKeyIdxOffset
  • SamKey (0x01)
    References keys within a SAM, only available on SAM based readers: key index from 0x00 to 0x7F, a SAM key contains up to 3 AES keys with different versions or 3 Mifare key pairs (A and B). VHL uses always the first SAM key.
    Key offset needed: see MifarePlusKeyIdxOffset
  • ReaderChipKey (0x02)
    References keys which are stored in reader chip memory: 32 keys (index 0..31) are available. This memory contains only keys for Mifare classic cards (SL1).
  • VhlKey (0x03)
    References keys which are defined in respective VHL files:
    AES keys in MifarePlusAesKeyList
    Mifare keys in MifareKeyList
OldCardMasterKeyIdx Integer (8 bits) Index to key: first key in list will be accessed with value 0, second with 1...
NewCardMasterKeyMemoryType Enumeration (8 bits) This value references a key memory type within the reader. VHL detects the security level (SL0..3) of a MIFARE Classic/Plus card automatically. According to the security level, the adequate key memories (AES and/or MIFARE keys) are chosen.
Values:
  • CryptoKey (0x00)
    References keys within the CryptoKey memory.
    Key offset needed: refer to MifarePlusKeyIdxOffset
  • SamKey (0x01)
    References keys within a SAM, only available on SAM based readers: key index from 0x00 to 0x7F, a SAM key contains up to 3 AES keys with different versions or 3 Mifare key pairs (A and B). VHL uses always the first SAM key.
    Key offset needed: see MifarePlusKeyIdxOffset
  • ReaderChipKey (0x02)
    References keys which are stored in reader chip memory: 32 keys (index 0..31) are available. This memory contains only keys for Mifare classic cards (SL1).
  • VhlKey (0x03)
    References keys which are defined in respective VHL files:
    AES keys in MifarePlusAesKeyList
    Mifare keys in MifareKeyList
NewCardMasterKeyIdx Integer (8 bits) Index to key: first key in list will be accessed with value 0, second with 1...
CardConfigurationKeyMemoryType Enumeration (8 bits) This value references a key memory type within the reader. VHL detects the security level (SL0..3) of a MIFARE Classic/Plus card automatically. According to the security level, the adequate key memories (AES and/or MIFARE keys) are chosen.
Values:
  • CryptoKey (0x00)
    References keys within the CryptoKey memory.
    Key offset needed: refer to MifarePlusKeyIdxOffset
  • SamKey (0x01)
    References keys within a SAM, only available on SAM based readers: key index from 0x00 to 0x7F, a SAM key contains up to 3 AES keys with different versions or 3 Mifare key pairs (A and B). VHL uses always the first SAM key.
    Key offset needed: see MifarePlusKeyIdxOffset
  • ReaderChipKey (0x02)
    References keys which are stored in reader chip memory: 32 keys (index 0..31) are available. This memory contains only keys for Mifare classic cards (SL1).
  • VhlKey (0x03)
    References keys which are defined in respective VHL files:
    AES keys in MifarePlusAesKeyList
    Mifare keys in MifareKeyList
CardConfigurationKeyIdx Integer (8 bits) Index to key: first key in list will be accessed with value 0, second with 1...
InstallationIDKeyMemoryType Enumeration (8 bits) This value references a key memory type within the reader. VHL detects the security level (SL0..3) of a MIFARE Classic/Plus card automatically. According to the security level, the adequate key memories (AES and/or MIFARE keys) are chosen.
Values:
  • CryptoKey (0x00)
    References keys within the CryptoKey memory.
    Key offset needed: refer to MifarePlusKeyIdxOffset
  • SamKey (0x01)
    References keys within a SAM, only available on SAM based readers: key index from 0x00 to 0x7F, a SAM key contains up to 3 AES keys with different versions or 3 Mifare key pairs (A and B). VHL uses always the first SAM key.
    Key offset needed: see MifarePlusKeyIdxOffset
  • ReaderChipKey (0x02)
    References keys which are stored in reader chip memory: 32 keys (index 0..31) are available. This memory contains only keys for Mifare classic cards (SL1).
  • VhlKey (0x03)
    References keys which are defined in respective VHL files:
    AES keys in MifarePlusAesKeyList
    Mifare keys in MifareKeyList
InstallationIDKeyIdx Integer (8 bits) Index to key: first key in list will be accessed with value 0, second with 1...
ATSKeyMemoryType Enumeration (8 bits) This value references a key memory type within the reader. VHL detects the security level (SL0..3) of a MIFARE Classic/Plus card automatically. According to the security level, the adequate key memories (AES and/or MIFARE keys) are chosen.
Values:
  • CryptoKey (0x00)
    References keys within the CryptoKey memory.
    Key offset needed: refer to MifarePlusKeyIdxOffset
  • SamKey (0x01)
    References keys within a SAM, only available on SAM based readers: key index from 0x00 to 0x7F, a SAM key contains up to 3 AES keys with different versions or 3 Mifare key pairs (A and B). VHL uses always the first SAM key.
    Key offset needed: see MifarePlusKeyIdxOffset
  • ReaderChipKey (0x02)
    References keys which are stored in reader chip memory: 32 keys (index 0..31) are available. This memory contains only keys for Mifare classic cards (SL1).
  • VhlKey (0x03)
    References keys which are defined in respective VHL files:
    AES keys in MifarePlusAesKeyList
    Mifare keys in MifareKeyList
ATSKeyIdx Integer (8 bits) Index to key: first key in list will be accessed with value 0, second with 1...