7#ifndef LOGICALACCESS_DESFIRECHIP_HPP
8#define LOGICALACCESS_DESFIRECHIP_HPP
20#define CHIP_DESFIRE "DESFire"
57 std::shared_ptr<LocationNode> getRootLocationNode()
override;
63 virtual std::shared_ptr<DESFireLocation> getApplicationLocation();
70 std::shared_ptr<CardService> getService(
CardServiceType serviceType)
override;
76 std::shared_ptr<AccessInfo> createAccessInfo()
const override;
82 std::shared_ptr<Location> createLocation()
const override;
90 return std::dynamic_pointer_cast<DESFireCommands>(getCommands());
100 has_real_uid_ = enabled;
111 return has_real_uid_;
The base chip class for all chip. Each chip have is own object and providers according to himself and...
Definition: chip.hpp:37
The DESFire base chip class.
Definition: desfirechip.hpp:26
std::shared_ptr< DESFireCrypto > getCrypto() const
Get the internal DESFire crypto.
Definition: desfirechip.hpp:118
bool has_real_uid_
Definition: desfirechip.hpp:142
std::string getGenericCardType() const override
Get the generic card type.
Definition: desfirechip.hpp:48
void setCrypto(std::shared_ptr< DESFireCrypto > crypto)
Set the internal DESFire crypto.
Definition: desfirechip.hpp:127
std::shared_ptr< DESFireCrypto > d_crypto
Crypto instance for security manipulation.
Definition: desfirechip.hpp:136
void setHasRealUID(bool enabled)
Definition: desfirechip.hpp:98
std::shared_ptr< DESFireCommands > getDESFireCommands() const
Get the DESFire commands.
Definition: desfirechip.hpp:88
bool hasRealUID() const
Definition: desfirechip.hpp:109
#define CHIP_DESFIRE
Definition: desfirechip.hpp:20
CardServiceType
The card services.
Definition: cardservice.hpp:35