7#ifndef LOGICALACCESS_SAMKEYSTORAGE_HPP
8#define LOGICALACCESS_SAMKEYSTORAGE_HPP
38 void serialize(boost::property_tree::ptree &parentNode)
override;
44 void unSerialize(boost::property_tree::ptree &node)
override;
50 std::string getDefaultXmlNodeName()
const override;
59 d_key_slot = key_slot;
A Key storage base class. The key storage specify where the key is stored in memory....
Definition: keystorage.hpp:31
A SAM key storage class.
Definition: samkeystorage.hpp:18
bool getDumpKey() const
Definition: samkeystorage.hpp:62
void setDumpKey(bool dumpKey)
Definition: samkeystorage.hpp:67
unsigned char getKeySlot() const
Definition: samkeystorage.hpp:52
unsigned char d_key_slot
The key slot. Optional for most PICC operation, automatically detected.
Definition: samkeystorage.hpp:76
virtual ~SAMKeyStorage()=default
bool d_dumpKey
Definition: samkeystorage.hpp:78
void setKeySlot(unsigned char key_slot)
Definition: samkeystorage.hpp:57
KeyStorageType
The key storage types.
Definition: keystorage.hpp:17