LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
mifareultralightcpcsccommands.hpp
Go to the documentation of this file.
1
7#ifndef LOGICALACCESS_MIFAREULTRALIGHTCPCSCCOMMANDS_HPP
8#define LOGICALACCESS_MIFAREULTRALIGHTCPCSCCOMMANDS_HPP
9
12
13namespace logicalaccess
14{
15#define CMD_MIFAREULTRALIGHTCPCSC "MifareUltralightCPCSC"
19class LLA_READERS_PCSC_API MifareUltralightCPCSCCommands
21#ifndef SWIG
22 ,
24#endif
25{
26 public:
31
32 explicit MifareUltralightCPCSCCommands(std::string);
33
34
39
44 void authenticate(std::shared_ptr<TripleDESKey> authkey) override;
45
46 protected:
47 virtual void startGenericSession();
48
49 virtual void stopGenericSession();
50
51 std::shared_ptr<MifareUltralightChip> getMifareUltralightChip() override;
52
53 void writePage(int page, const ByteVector &buf) override;
54
55 virtual ISO7816Response sendGenericCommand(const ByteVector &data);
56
57 virtual ByteVector authenticate_PICC1();
58
59 virtual ByteVector authenticate_PICC2(const ByteVector &encRndAB);
60};
61}
62
63#endif /* LOGICALACCESS_MIFAREULTRALIGHTCPCSCCOMMANDS_HPP */
LLA_CARDS_MIFAREULTRALIGHT_API void getMifareUltralightChip(std::shared_ptr< logicalaccess::Chip > *chip)
Definition: libraryentry.cpp:23
A ISO7816 response message.
Definition: iso7816response.hpp:21
The Mifare Ultralight C commands class.
Definition: mifareultralightccommands.hpp:21
The Mifare Ultralight C commands class for PCSC reader.
Definition: mifareultralightcpcsccommands.hpp:25
The Mifare Ultralight commands class for PCSC reader.
Definition: mifareultralightpcsccommands.hpp:25
std::vector< uint8_t > ByteVector
Definition: lla_fwd.hpp:80
Mifare Ultralight C commands.
Mifare Ultralight pcsc card.
Definition: asn1.hpp:9