LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
readermemorykeystorage.hpp
Go to the documentation of this file.
1
7#ifndef LOGICALACCESS_READERMEMORYKEYSTORAGE_HPP
8#define LOGICALACCESS_READERMEMORYKEYSTORAGE_HPP
9
11
12namespace logicalaccess
13{
17class LLA_CORE_API ReaderMemoryKeyStorage : public KeyStorage
18{
19 public:
24
25 virtual ~ReaderMemoryKeyStorage() = default;
26
31 KeyStorageType getType() const override;
32
37 void setKeySlot(unsigned char key_slot);
38
43 unsigned char getKeySlot() const;
44
49 void setVolatile(bool vol);
50
55 bool getVolatile() const;
56
62 void serialize(boost::property_tree::ptree &parentNode) override;
63
68 void unSerialize(boost::property_tree::ptree &node) override;
69
74 std::string getDefaultXmlNodeName() const override;
75
76 protected:
80 unsigned char d_key_slot;
81
86};
87}
88
89#endif /* LOGICALACCESS_READERMEMORYKEYSTORAGE_HPP */
A Key storage base class. The key storage specify where the key is stored in memory....
Definition: keystorage.hpp:31
A reader memory key storage class.
Definition: readermemorykeystorage.hpp:18
bool d_volatile
True if the key is stored volatile, false otherwise.
Definition: readermemorykeystorage.hpp:85
unsigned char d_key_slot
The key slot.
Definition: readermemorykeystorage.hpp:80
Key storage description.
Definition: asn1.hpp:9
KeyStorageType
The key storage types.
Definition: keystorage.hpp:17