LibLogicalAccess
2.5.0
An Open Source RFID Library
|
#include <keydiversification.hpp>
Public Member Functions | |
virtual | ~KeyDiversification ()=default |
virtual void | initDiversification (ByteVector d_identifier, unsigned int AID, std::shared_ptr< Key > key, unsigned char keyno, ByteVector &diversify)=0 |
virtual ByteVector | getDiversifiedKey (std::shared_ptr< Key > key, ByteVector diversify)=0 |
virtual std::string | getKeyDiversificationType ()=0 |
![]() | |
virtual | ~XmlSerializable ()=default |
virtual std::string | serialize () |
Serialize object to Xml Node string. | |
virtual std::string | serializeWithHeaders () |
Serialize object to Xml Node string, with xml headers. | |
virtual void | serialize (boost::property_tree::ptree &parentNode)=0 |
Serialize object to Xml Node. | |
virtual void | serializeToFile (const std::string &filename) |
Serialize object to a Xml file. | |
virtual void | unSerialize (boost::property_tree::ptree &node)=0 |
UnSerialize object from a Xml Node. | |
virtual void | unSerialize (const std::string &xmlstring, const std::string &rootNode) |
UnSerialize object from a Xml Node string. | |
virtual void | unSerialize (std::istream &is, const std::string &rootNode) |
UnSerialize object from a Xml node. | |
virtual void | unSerialize (boost::property_tree::ptree &node, const std::string &rootNode) |
UnSerialize object from a Xml node. | |
virtual void | unSerializeFromFile (const std::string &filename) |
UnSerialize object from a Xml file. | |
virtual std::string | getDefaultXmlNodeName () const =0 |
Get the default Xml Node name for this object. | |
Static Public Member Functions | |
static std::shared_ptr< KeyDiversification > | getKeyDiversificationFromType (std::string kdiv) |
![]() | |
static std::string | removeXmlDeclaration (const std::string &xmlstring) |
Remove Xml declaration from a xml string. | |
static ByteVector | formatHexString (std::string hexstr) |
Format hex string to hex string with space. | |
Additional Inherited Members | |
![]() | |
static unsigned long long | atoull (const std::string &str) |
|
virtualdefault |
|
pure virtual |
|
static |
|
pure virtual |
|
pure virtual |