LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
desfireev1chip.hpp
Go to the documentation of this file.
1
7#ifndef LOGICALACCESS_DESFIREEV1CHIP_HPP
8#define LOGICALACCESS_DESFIREEV1CHIP_HPP
9
12
13namespace logicalaccess
14{
15#define CHIP_DESFIRE_EV1 "DESFireEV1"
16
20class LLA_CARDS_DESFIRE_API DESFireEV1Chip : public DESFireChip
21{
22 public:
27
32 explicit DESFireEV1Chip(std::string ct);
33
37 virtual ~DESFireEV1Chip();
38
43 std::shared_ptr<LocationNode> getRootLocationNode() override;
44
49 std::shared_ptr<DESFireLocation> getApplicationLocation() override;
50
51 std::shared_ptr<CardService> getService(CardServiceType serviceType) override;
52
57 std::shared_ptr<Location> createLocation() const override;
58
63 std::shared_ptr<DESFireEV1Commands> getDESFireEV1Commands() const
64 {
65 return std::dynamic_pointer_cast<DESFireEV1Commands>(getCommands());
66 }
67};
68}
69
70#endif /* LOGICALACCESS_DESFIREEV1CHIP_HPP */
The DESFire base chip class.
Definition: desfirechip.hpp:26
The DESFire EV1 base chip class.
Definition: desfireev1chip.hpp:21
std::shared_ptr< DESFireEV1Commands > getDESFireEV1Commands() const
Get the DESFire card provider for I/O access.
Definition: desfireev1chip.hpp:63
DESFire chip.
DESFire EV1 commands.
Definition: asn1.hpp:9
CardServiceType
The card services.
Definition: cardservice.hpp:35