LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
omnikey5427readerunitconfiguration.hpp
Go to the documentation of this file.
1//
2// Created by xaqq on 4/13/15.
3//
4
5#pragma once
6
9
10namespace logicalaccess
11{
15class LLA_READERS_PCSC_API Omnikey5427ReaderUnitConfiguration
17{
18 public:
20
25 bool getUseSecureMode() const;
26
31 void setUseSecureMode(bool use_sm);
32
33
38 std::shared_ptr<AES128Key> getSecureMasterKey() const;
39
45 void setSecureMasterKey(std::shared_ptr<AES128Key>);
46
47 void resetConfiguration() override;
48
49 void serialize(boost::property_tree::ptree &parentNode) override;
50
51 void unSerialize(boost::property_tree::ptree &node) override;
52
53 PCSCReaderUnitType getPCSCType() const override;
54
55 private:
57 std::shared_ptr<AES128Key> masterKey_;
58};
59}
AES128 key.
Definition: omnikey5427readerunitconfiguration.hpp:17
bool useSecureMode_
Definition: omnikey5427readerunitconfiguration.hpp:56
std::shared_ptr< AES128Key > masterKey_
Definition: omnikey5427readerunitconfiguration.hpp:57
The PC/SC reader unit configuration base class.
Definition: pcscreaderunitconfiguration.hpp:75
Definition: asn1.hpp:9
PCSCReaderUnitType
The reader unit types.
Definition: pcscreaderunitconfiguration.hpp:54
PC/SC Reader unit configuration.