5#ifndef LIBLOGICALACCESS_MIFAREPLSSTORAGECARDSERVICE_SL1_H
6#define LIBLOGICALACCESS_MIFAREPLSSTORAGECARDSERVICE_SL1_H
9#include <logicalaccess/plugins/cards/mifareplus/lla_cards_mifareplus_api.hpp>
13#define STORAGECARDSERVICE_MIFARE_PLUS "MifarePlusStorageSL1"
27 void erase(std::shared_ptr<Location> location,
28 std::shared_ptr<AccessInfo> aiToUse)
override;
30 void writeData(std::shared_ptr<Location> location,
31 std::shared_ptr<AccessInfo> aiToUse,
32 std::shared_ptr<AccessInfo> aiToWrite,
const ByteVector &data,
35 ByteVector readData(std::shared_ptr<Location> location,
36 std::shared_ptr<AccessInfo> aiToUse,
size_t length,
39 ByteVector readDataHeader(std::shared_ptr<Location> location,
40 std::shared_ptr<AccessInfo> aiToUse)
override;
43 void authenticate_if_needed(std::shared_ptr<AccessInfo>);
Definition: mifareplussl1storagecardservice.hpp:17
bool has_been_authenticated_
Definition: mifareplussl1storagecardservice.hpp:49
std::string getCSType() override
Definition: mifareplussl1storagecardservice.hpp:22
The Mifare storage card service base class.
Definition: mifarestoragecardservice.hpp:27
std::vector< uint8_t > ByteVector
Definition: lla_fwd.hpp:80
#define STORAGECARDSERVICE_MIFARE_PLUS
Definition: mifareplussl1storagecardservice.hpp:13
Mifare storage card service.
CardBehavior
The card behaviors.
Definition: storagecardservice.hpp:20