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).
Enumerator |
---|
brp_MifarePlusKeyMemoryType_CryptoKey | References keys within the CryptoKey memory.
Key offset needed: refer to MifarePlusKeyIdxOffset
|
brp_MifarePlusKeyMemoryType_SamKey | 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
|
brp_MifarePlusKeyMemoryType_ReaderChipKey | 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).
|
brp_MifarePlusKeyMemoryType_VhlKey | References keys which are defined in respective VHL files: AES keys in MifarePlusAesKeyList Mifare keys in MifareKeyList
|
brp_MifarePlusKeyMemoryType_undefined | |
Definition at line 2907 of file typedefs.h.