VhlCfg / File / MifarePlusMadKeyBIndex Value
This entry is only needed for running VHL-Format(). If MAD
encoding is enabled (MAD_AID does exist), this value contains a
2 byte index to the write key (Key B) of the MAD. This key is
needed by VHL-Format() to create the MAD or to adapt the MAD
when adding a new application. If MAD encoding is not enabled,
this value may be omitted. This value is used by Mifare plus
firmware only. For Mifare classic firmware use
MifareClassicMadKeyB instead.
Properties
- Value ID: 0x0300/0x91
Format
Name | Type/Size | Description | |
---|---|---|---|
MadKeyBMemoryType | 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 and
according to the security level the adequate key
memories (AES and/or Mifare keys) are chosen. For
some key memory types a card in Mifare plus
security level 2 (SL2) needs both keys (AES and
Mifare): then the configuration value
MifarePlusKeyIdxOffset describes an offset of
Mifare keys to AES keys (! signed value). Values:
|
|
MadKeyBIdx | Integer (8 bits) | Index to key: first key in list will be accessed with value 0, second with 1... |