1#ifndef NXPKEYDIVERSIFICATION_HPP__
2#define NXPKEYDIVERSIFICATION_HPP__
8#include <logicalaccess/plugins/cards/desfire/lla_cards_desfire_api.hpp>
16 std::shared_ptr<Key> key,
unsigned char keyno,
31 void serialize(boost::property_tree::ptree & )
override
39 return "NXPKeyDiversification";
Definition: keydiversification.hpp:13
Definition: nxpkeydiversification.hpp:13
std::string getDefaultXmlNodeName() const override
Get the default Xml Node name for this object.
Definition: nxpkeydiversification.hpp:37
NXPKeyDiversification()
Definition: nxpkeydiversification.hpp:21
virtual ~NXPKeyDiversification()=default
void initDiversification(ByteVector identifier, unsigned int AID, std::shared_ptr< Key > key, unsigned char keyno, ByteVector &diversify) override=0
ByteVector getDiversifiedKey(std::shared_ptr< Key > key, ByteVector diversify) override=0
void serialize(boost::property_tree::ptree &) override
Serialize object to Xml Node.
Definition: nxpkeydiversification.hpp:31
void unSerialize(boost::property_tree::ptree &) override
UnSerialize object from a Xml Node.
Definition: nxpkeydiversification.hpp:34
std::string getKeyDiversificationType() override
Definition: nxpkeydiversification.hpp:26
std::vector< uint8_t > ByteVector
Definition: lla_fwd.hpp:80