7#ifndef LOGICALACCESS_OMNIKEYXX21READERUNIT_HPP
8#define LOGICALACCESS_OMNIKEYXX21READERUNIT_HPP
36 assert(st == READ || st == WRITE || st == DISABLED);
47 explicit operator bool()
const
49 return value_ != DISABLED;
52 explicit operator int()
const
57 LLA_READERS_PCSC_API
friend std::ostream &
operator<<(std::ostream &os,
89 void setSecureConnectionStatus(
int v);
106 bool waitRemoval(
unsigned int maxwait)
override;
113 std::shared_ptr<ReaderCardAdapter> getReaderCardAdapter(std::string type)
override;
121 return std::dynamic_pointer_cast<OmnikeyXX21ReaderUnitConfiguration>(
122 getPCSCConfiguration());
130 void changeReaderKey(std::shared_ptr<ReaderMemoryKeyStorage> keystorage,
140 void getT_CL_ISOType(
bool &isTypeA,
bool &isTypeB)
override;
147 void setCardTechnologies(
const TechnoBitset &bitset)
override;
175 bool fetchCardTechoLinux(
const std::vector<std::string> &lines,
176 const std::string &techno);
181 bool replaceCardTechnoLinux(std::vector<std::string> &lines,
182 const std::map<std::string, bool> technos);
The Omnikey reader unit base class.
Definition: omnikeyreaderunit.hpp:23
The Omnikey XX21 reader unit class.
Definition: omnikeyxx21readerunit.hpp:25
std::shared_ptr< OmnikeyXX21ReaderUnitConfiguration > getOmnikeyXX21Configuration()
Get the Omnikey XX21 reader unit configuration.
Definition: omnikeyxx21readerunit.hpp:119
static std::map< std::string, SecureModeStatus > secure_connection_status_
Is secure connection mode ?
Definition: omnikeyxx21readerunit.hpp:164
std::vector< uint8_t > ByteVector
Definition: lla_fwd.hpp:80
PCSCReaderUnitType
The reader unit types.
Definition: pcscreaderunitconfiguration.hpp:54
ReaderServiceType
Definition: reader_service.hpp:10
LLA_CORE_API std::ostream & operator<<(std::ostream &os, const Key &key)
Output to stream operator.
Definition: key.cpp:298
uint32_t TechnoBitset
Definition: techno.hpp:25
std::shared_ptr< ReaderService > ReaderServicePtr
Definition: lla_fwd.hpp:67
Omnikey XX21 Reader unit configuration.
Definition: omnikeyxx21readerunit.hpp:33
SecureModeStatus(int st)
Definition: omnikeyxx21readerunit.hpp:34
int value_
Definition: omnikeyxx21readerunit.hpp:61
@ WRITE
Definition: omnikeyxx21readerunit.hpp:43
@ READ
Definition: omnikeyxx21readerunit.hpp:42