LibLogicalAccess  2.5.0
An Open Source RFID Library
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mifareultralightcchip.hpp
Go to the documentation of this file.
1
7#ifndef LOGICALACCESS_MIFAREULTRALIGHTCCHIP_HPP
8#define LOGICALACCESS_MIFAREULTRALIGHTCCHIP_HPP
9
11
13
14#include <string>
15#include <vector>
16#include <iostream>
17
18namespace logicalaccess
19{
20#define CHIP_MIFAREULTRALIGHTC "MifareUltralightC"
21
25class LLA_CARDS_MIFAREULTRALIGHT_API MifareUltralightCChip : public MifareUltralightChip
26{
27 public:
32
36 virtual ~MifareUltralightCChip();
37
42 std::shared_ptr<LocationNode> getRootLocationNode() override;
43
49 std::shared_ptr<CardService> getService(CardServiceType serviceType) override;
50
55 std::shared_ptr<AccessInfo> createAccessInfo() const override;
56
57 std::shared_ptr<TripleDESKey> getDefaultKey() const;
58
63 std::shared_ptr<MifareUltralightCCommands> getMifareUltralightCCommands() const
64 {
65 return std::dynamic_pointer_cast<MifareUltralightCCommands>(
66 getMifareUltralightCommands());
67 }
68};
69}
70
71#endif
The Mifare Ultralight C base chip class.
Definition: mifareultralightcchip.hpp:26
std::shared_ptr< MifareUltralightCCommands > getMifareUltralightCCommands() const
Get the Mifare Ultralight C card provider for I/O access.
Definition: mifareultralightcchip.hpp:63
The Mifare Ultralight base chip class.
Definition: mifareultralightchip.hpp:25
Mifare Ultralight C commands.
Mifare Ultralight chip.
Definition: asn1.hpp:9
CardServiceType
The card services.
Definition: cardservice.hpp:35