7#ifndef LOGICALACCESS_ISO7816STORAGECARDSERVICE_HPP
8#define LOGICALACCESS_ISO7816STORAGECARDSERVICE_HPP
15#define STORAGECARDSERVICE_ISO7816 "ISO7816Storage"
43 void erase(std::shared_ptr<Location> location,
44 std::shared_ptr<AccessInfo> aiToUse)
override;
54 void writeData(std::shared_ptr<Location> location,
55 std::shared_ptr<AccessInfo> aiToUse,
56 std::shared_ptr<AccessInfo> aiToWrite,
const ByteVector &data,
67 ByteVector readData(std::shared_ptr<Location> location,
68 std::shared_ptr<AccessInfo> aiToUse,
size_t Length,
79 ByteVector readDataHeader(std::shared_ptr<Location> location,
80 std::shared_ptr<AccessInfo> aiToUse)
override;
89 return std::dynamic_pointer_cast<ISO7816Chip>(getChip());
The ISO7816 card provider base class.
Definition: iso7816storagecardservice.hpp:21
std::string getCSType() override
Definition: iso7816storagecardservice.hpp:33
std::shared_ptr< ISO7816Chip > getISO7816Chip() const
Get the associated ISO7816 chip.
Definition: iso7816storagecardservice.hpp:87
The base storage card service class for all storage services.
Definition: storagecardservice.hpp:30
#define STORAGECARDSERVICE_ISO7816
Definition: iso7816storagecardservice.hpp:15
std::vector< uint8_t > ByteVector
Definition: lla_fwd.hpp:80
CardBehavior
The card behaviors.
Definition: storagecardservice.hpp:20