7#ifndef LOGICALACCESS_ISO7816READERUNIT_HPP
8#define LOGICALACCESS_ISO7816READERUNIT_HPP
19class ISO7816ReaderProvider;
78 std::shared_ptr<Chip> getSingleChip()
override;
84 std::vector<std::shared_ptr<Chip>> getChipList()
override;
105 virtual void connectToSAM();
111 bool connectToReader()
override;
113 virtual void disconnectFromSAM();
118 void disconnectFromReader()
override;
120 virtual void reloadReaderConfiguration();
126 virtual void setContext(
const std::string &context);
132 virtual std::string getContext();
160 virtual std::shared_ptr<SAMChip> getSAMChip();
165 virtual void setSAMChip(std::shared_ptr<SAMChip> t);
170 virtual std::shared_ptr<ISO7816ReaderUnit> getSAMReaderUnit();
175 virtual void setSAMReaderUnit(std::shared_ptr<ISO7816ReaderUnit> t);
178 std::shared_ptr<ResultChecker> createDefaultResultChecker()
const override;
184 std::shared_ptr<ISO7816ReaderProvider> getISO7816ReaderProvider()
const;
192 return std::dynamic_pointer_cast<ISO7816ReaderUnitConfiguration>(
196 bool reconnect(
int action)
override;
The ISO7816 reader unit class.
Definition: iso7816readerunit.hpp:25
std::shared_ptr< ISO7816ReaderUnitConfiguration > getISO7816Configuration()
Get the ISO7816 reader unit configuration.
Definition: iso7816readerunit.hpp:190
bool isConnected() override
Check if the card is connected.
Definition: iso7816readerunit.hpp:61
std::string d_sam_client_context
The sam client context.
Definition: iso7816readerunit.hpp:216
bool connect() override
Connect to the card.
Definition: iso7816readerunit.hpp:93
bool waitInsertion(unsigned int) override
Wait for a card insertion.
Definition: iso7816readerunit.hpp:39
std::shared_ptr< ISO7816ReaderUnit > d_sam_readerunit
The SAM ReaderUnit used SAM Authentication.
Definition: iso7816readerunit.hpp:206
std::string getReaderSerialNumber() override
Get a string hexadecimal representation of the reader serial number.
Definition: iso7816readerunit.hpp:147
void disconnect() override
Disconnect from the card.
Definition: iso7816readerunit.hpp:101
void setCardType(std::string) override
Set the forced card type.
Definition: iso7816readerunit.hpp:70
std::string getName() const override
Get the reader unit name.
Definition: iso7816readerunit.hpp:138
std::shared_ptr< CardProbe > createCardProbe() override
Definition: iso7816readerunit.hpp:152
bool waitRemoval(unsigned int) override
Wait for a card removal.
Definition: iso7816readerunit.hpp:52
std::string d_client_context
The client context.
Definition: iso7816readerunit.hpp:211
std::shared_ptr< SAMChip > d_sam_chip
The SAM chip.
Definition: iso7816readerunit.hpp:201
The card types.
Definition: readerunit.hpp:42
Reader memory key storage description.