16#include "keypop/reader/selection/spi/CardSelectionExtension.hpp"
21namespace storagecard {
24using keypop::reader::selection::spi::CardSelectionExtension;
132 const std::vector<uint8_t>& key) = 0;
Extends the CardSelectionExtension interface of the "Keypop Reader API" to provide means to define op...
virtual StorageCardSelectionExtension & prepareSt25ReadSystemBlock()=0
Prepares the reading of the system block from an ST25/SRT512 storage card.
virtual ~StorageCardSelectionExtension()=default
virtual StorageCardSelectionExtension & prepareReadBlocks(int fromBlockAddress, int toBlockAddress)=0
Prepares the reading of a range of blocks from the storage card.
virtual StorageCardSelectionExtension & prepareReadBlock(int blockAddress)=0
Prepares the reading of a specific block from the storage card.
virtual StorageCardSelectionExtension & prepareMifareClassicAuthenticate(int blockAddress, MifareClassicKeyType mifareClassicKeyType, int keyNumber)=0
Prepares a Mifare Classic authentication command using a key stored in the reader.
virtual StorageCardSelectionExtension & prepareMifareClassicAuthenticate(int blockAddress, MifareClassicKeyType mifareClassicKeyType, const std::vector< uint8_t > &key)=0
Prepares a Mifare Classic authentication command using a provided key.
MifareClassicKeyType
Enumeration of the Mifare Classic key types used for authentication.