|
LibLogicalAccess
2.5.0
An Open Source RFID Library
|
A DESFire EV1 location informations. More...
#include <desfireev1location.hpp>
Public Member Functions | |
| DESFireEV1Location () | |
| Constructor. | |
| virtual | ~DESFireEV1Location () |
| Destructor. | |
| 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. | |
| std::string | getCardType () override |
| Get the card type for this location. | |
| bool | operator== (const Location &location) const override |
| Equality operator. | |
Public Member Functions inherited from logicalaccess::DESFireLocation | |
| DESFireLocation () | |
| Constructor. | |
| virtual | ~DESFireLocation () |
| Destructor. | |
| 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. | |
| std::string | getCardType () override |
| Get the card type for this location. | |
| void | incrementOffset (int increment) override |
| bool | operator== (const Location &location) const override |
| Equality operator. | |
Public Member Functions inherited from logicalaccess::Location | |
| virtual | ~Location ()=default |
| virtual std::string | getCardType ()=0 |
| Get the card type for this location. | |
| virtual void | incrementOffset (int increment) |
| virtual bool | operator== (const Location &location) const |
| Equality operator. | |
| bool | operator!= (const Location &location) const |
| Inequality operator. | |
Public Member Functions inherited from logicalaccess::XmlSerializable | |
| 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 | useEV1 |
| Use EV1 functionalities. | |
| DESFireKeyType | cryptoMethod |
| The application crypto method. | |
| bool | useISO7816 |
| Use ISO7816 naming. | |
| unsigned short | applicationFID |
| The ISO7816 application FID. | |
| unsigned short | fileFID |
| The ISO7816 file FID. | |
Public Attributes inherited from logicalaccess::DESFireLocation | |
| unsigned int | aid |
| The application ID. | |
| unsigned char | file |
| The file ID. | |
| unsigned int | byte_ |
| The byte offset. | |
| EncryptionMode | securityLevel |
| The file security level. | |
Additional Inherited Members | |
Static Public Member Functions inherited from logicalaccess::DESFireLocation | |
| static unsigned int | convertAidToUInt (const ByteVector &aid) |
| Convert an Application ID buffer into 32 bits. | |
| static void | convertUIntToAid (unsigned int i, ByteVector &aid) |
| Convert an Application ID 32 bits into a buffer. | |
Static Public Member Functions inherited from logicalaccess::XmlSerializable | |
| 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 Protected Member Functions inherited from logicalaccess::XmlSerializable | |
| static unsigned long long | atoull (const std::string &str) |
A DESFire EV1 location informations.
| logicalaccess::DESFireEV1Location::DESFireEV1Location | ( | ) |
Constructor.
|
virtual |
Destructor.
|
inlineoverridevirtual |
|
overridevirtual |
Get the default Xml Node name for this object.
Implements logicalaccess::XmlSerializable.
|
overridevirtual |
Equality operator.
| location | Location to compare. |
Reimplemented from logicalaccess::Location.
|
overridevirtual |
Serialize the current object to XML.
| parentNode | The parent node. |
Implements logicalaccess::XmlSerializable.
|
overridevirtual |
UnSerialize a XML node to the current object.
| node | The XML node. |
Implements logicalaccess::XmlSerializable.
| unsigned short logicalaccess::DESFireEV1Location::applicationFID |
The ISO7816 application FID.
| DESFireKeyType logicalaccess::DESFireEV1Location::cryptoMethod |
The application crypto method.
| unsigned short logicalaccess::DESFireEV1Location::fileFID |
The ISO7816 file FID.
| bool logicalaccess::DESFireEV1Location::useEV1 |
Use EV1 functionalities.
| bool logicalaccess::DESFireEV1Location::useISO7816 |
Use ISO7816 naming.
1.9.6