7#ifndef LOGICALACCESS_AES128KEY_HPP
8#define LOGICALACCESS_AES128KEY_HPP
15#define AES128_KEY_SIZE 16
25 using XmlSerializable::serialize;
26 using XmlSerializable::unSerialize;
39 explicit AES128Key(
const std::string &str);
46 AES128Key(
const void *buf,
size_t buflen);
66 const unsigned char *
getData()
const override
85 void serialize(boost::property_tree::ptree &parentNode)
override;
91 void unSerialize(boost::property_tree::ptree &node)
override;
97 std::string getDefaultXmlNodeName()
const override;
#define AES128_KEY_SIZE
The default aes 128-bit key size.
Definition: aes128key.hpp:15
A AES128 key class.
Definition: aes128key.hpp:23
virtual ~AES128Key()=default
unsigned char * getData() override
Get the key data.
Definition: aes128key.hpp:75
size_t getLength() const override
Get the key length.
Definition: aes128key.hpp:57
const unsigned char * getData() const override
Get the key data.
Definition: aes128key.hpp:66
A Key base class. The key object is used to describe key chip information used for authentication on ...
Definition: key.hpp:22
std::vector< uint8_t > ByteVector
Definition: lla_fwd.hpp:80