LibLogicalAccess
2.5.0
An Open Source RFID Library
|
A Mifare Ultralight access informations. More...
#include <mifareultralightaccessinfo.hpp>
Public Member Functions | |
MifareUltralightAccessInfo () | |
Constructor. | |
virtual | ~MifareUltralightAccessInfo () |
Destructor. | |
void | generateInfos () override |
Generate pseudo-random Mifare Ultralight access informations. | |
std::string | getCardType () const override |
Get the card type for this access infos. | |
void | serialize (boost::property_tree::ptree &parentNode) override |
Serialize the current object to XML. | |
void | unSerialize (boost::property_tree::ptree &node) override |
UnSerialize a XML node to the current object. | |
std::string | getDefaultXmlNodeName () const override |
Get the default Xml Node name for this object. | |
bool | operator== (const AccessInfo &ai) const override |
Equality operator. | |
![]() | |
AccessInfo () | |
Constructor. | |
virtual | ~AccessInfo ()=default |
virtual void | generateInfos ()=0 |
Generate pseudo-random access informations. | |
virtual std::string | getCardType () const =0 |
Get the card type for this access infos. | |
virtual bool | operator== (const AccessInfo &ai) const |
Equality operator. | |
bool | operator!= (const AccessInfo &ai) const |
Inequality operator. | |
![]() | |
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. | |
Public Attributes | |
bool | lockPage |
Page is locked ? | |
Additional Inherited Members | |
![]() | |
static std::string | generateSimpleKey (size_t keySize) |
Generate a key data. | |
static std::string | generateSimpleDESKey (size_t keySize) |
Generate a DES key data. | |
![]() | |
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. | |
![]() | |
static unsigned long long | atoull (const std::string &str) |
A Mifare Ultralight access informations.
logicalaccess::MifareUltralightAccessInfo::MifareUltralightAccessInfo | ( | ) |
Constructor.
|
virtual |
Destructor.
|
overridevirtual |
Generate pseudo-random Mifare Ultralight access informations.
Implements logicalaccess::AccessInfo.
Reimplemented in logicalaccess::MifareUltralightCAccessInfo.
|
overridevirtual |
Get the card type for this access infos.
Implements logicalaccess::AccessInfo.
Reimplemented in logicalaccess::MifareUltralightCAccessInfo.
|
overridevirtual |
Get the default Xml Node name for this object.
Implements logicalaccess::XmlSerializable.
Reimplemented in logicalaccess::MifareUltralightCAccessInfo.
|
overridevirtual |
Equality operator.
ai | Access infos to compare. |
Reimplemented from logicalaccess::AccessInfo.
Reimplemented in logicalaccess::MifareUltralightCAccessInfo.
|
overridevirtual |
Serialize the current object to XML.
parentNode | The parent node. |
Implements logicalaccess::XmlSerializable.
Reimplemented in logicalaccess::MifareUltralightCAccessInfo, and logicalaccess::MifareUltralightCAccessInfo.
|
overridevirtual |
UnSerialize a XML node to the current object.
node | The XML node. |
Implements logicalaccess::XmlSerializable.
Reimplemented in logicalaccess::MifareUltralightCAccessInfo, and logicalaccess::MifareUltralightCAccessInfo.
bool logicalaccess::MifareUltralightAccessInfo::lockPage |
Page is locked ?