7#ifndef LOGICALACCESS_STIDSTRREADERUNITCONFIGURATION_HPP
8#define LOGICALACCESS_STIDSTRREADERUNITCONFIGURATION_HPP
13#include <logicalaccess/plugins/readers/stidstr/lla_readers_stidstr_api.hpp>
57 void resetConfiguration()
override;
63 void serialize(boost::property_tree::ptree &parentNode)
override;
69 void unSerialize(boost::property_tree::ptree &node)
override;
75 std::string getDefaultXmlNodeName()
const override;
81 unsigned char getRS485Address()
const;
87 void setRS485Address(
unsigned char address);
117 std::shared_ptr<HMAC1Key> getHMACKey()
const;
123 void setHMACKey(std::shared_ptr<HMAC1Key> key);
129 std::shared_ptr<AES128Key> getAESKey()
const;
135 void setAESKey(std::shared_ptr<AES128Key> key);
137 bool getPN532Direct()
const;
139 void setPN532Direct(
bool direct);
The PC/SC reader unit configuration base class.
Definition: iso7816readerunitconfiguration.hpp:24
The STidSTR reader unit configuration base class.
Definition: stidstrreaderunitconfiguration.hpp:42
std::shared_ptr< AES128Key > d_key_aes
The key used for AES enciphering.
Definition: stidstrreaderunitconfiguration.hpp:165
bool d_pn532_direct
Direct communication with the internal PN532 component.
Definition: stidstrreaderunitconfiguration.hpp:170
STidCommunicationType d_communicationType
The reader communication type.
Definition: stidstrreaderunitconfiguration.hpp:150
std::shared_ptr< HMAC1Key > d_key_hmac
The key used for HMAC signature.
Definition: stidstrreaderunitconfiguration.hpp:160
unsigned char d_rs485Address
The reader RS485 address (if communication type RS485 used).
Definition: stidstrreaderunitconfiguration.hpp:145
STidCommunicationMode d_communicationMode
The reader communication mode (security objective).
Definition: stidstrreaderunitconfiguration.hpp:155
STidCommunicationType
The STidSRT communication type.
Definition: stidstrreaderunitconfiguration.hpp:20
@ STID_RS485
Definition: stidstrreaderunitconfiguration.hpp:22
@ STID_RS232
Definition: stidstrreaderunitconfiguration.hpp:21
STidCommunicationMode
The STidSRT communication mode.
Definition: stidstrreaderunitconfiguration.hpp:28
@ STID_CM_PLAIN
Definition: stidstrreaderunitconfiguration.hpp:29
@ STID_CM_CIPHERED_AND_SIGNED
Definition: stidstrreaderunitconfiguration.hpp:32
@ STID_CM_CIPHERED
Definition: stidstrreaderunitconfiguration.hpp:31
@ STID_CM_SIGNED
Definition: stidstrreaderunitconfiguration.hpp:30
@ STID_CM_RESERVED
Definition: stidstrreaderunitconfiguration.hpp:34