7#ifndef LOGICALACCESS_DESFIRELOCATION_HPP
8#define LOGICALACCESS_DESFIRELOCATION_HPP
46 static unsigned int convertAidToUInt(
const ByteVector &aid);
53 static void convertUIntToAid(
unsigned int i,
ByteVector &aid);
59 void serialize(boost::property_tree::ptree &parentNode)
override;
65 void unSerialize(boost::property_tree::ptree &node)
override;
71 std::string getDefaultXmlNodeName()
const override;
82 void incrementOffset(
int increment)
override;
89 bool operator==(
const Location &location)
const override;
A DESFire location informations.
Definition: desfirelocation.hpp:29
EncryptionMode securityLevel
The file security level.
Definition: desfirelocation.hpp:109
unsigned char file
The file ID.
Definition: desfirelocation.hpp:99
unsigned int byte_
The byte offset.
Definition: desfirelocation.hpp:104
std::string getCardType() override
Get the card type for this location.
Definition: desfirelocation.hpp:77
unsigned int aid
The application ID.
Definition: desfirelocation.hpp:94
A location informations.
Definition: location.hpp:19
std::vector< uint8_t > ByteVector
Definition: lla_fwd.hpp:80
EncryptionMode
The file communication mode (or encryption mode)
Definition: desfirelocation.hpp:18
@ CM_PLAIN
Definition: desfirelocation.hpp:19
@ CM_UNKNOWN
Definition: desfirelocation.hpp:22
@ CM_ENCRYPT
Definition: desfirelocation.hpp:21
@ CM_MAC
Definition: desfirelocation.hpp:20