LibLogicalAccess
2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
plugins
logicalaccess
plugins
readers
pcsc
commands
mifareultralightcpcsccommands.hpp
Go to the documentation of this file.
1
7
#ifndef LOGICALACCESS_MIFAREULTRALIGHTCPCSCCOMMANDS_HPP
8
#define LOGICALACCESS_MIFAREULTRALIGHTCPCSCCOMMANDS_HPP
9
10
#include <
logicalaccess/plugins/readers/pcsc/commands/mifareultralightpcsccommands.hpp
>
11
#include <
logicalaccess/plugins/cards/mifareultralight/mifareultralightccommands.hpp
>
12
13
namespace
logicalaccess
14
{
15
#define CMD_MIFAREULTRALIGHTCPCSC "MifareUltralightCPCSC"
19
class
LLA_READERS_PCSC_API
MifareUltralightCPCSCCommands
20
:
public
MifareUltralightPCSCCommands
21
#ifndef SWIG
22
,
23
public
MifareUltralightCCommands
24
#endif
25
{
26
public
:
30
MifareUltralightCPCSCCommands
();
31
32
explicit
MifareUltralightCPCSCCommands
(std::string);
33
34
38
virtual
~MifareUltralightCPCSCCommands
();
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 */
getMifareUltralightChip
LLA_CARDS_MIFAREULTRALIGHT_API void getMifareUltralightChip(std::shared_ptr< logicalaccess::Chip > *chip)
Definition:
libraryentry.cpp:23
logicalaccess::ISO7816Response
A ISO7816 response message.
Definition:
iso7816response.hpp:21
logicalaccess::MifareUltralightCCommands
The Mifare Ultralight C commands class.
Definition:
mifareultralightccommands.hpp:21
logicalaccess::MifareUltralightCPCSCCommands
The Mifare Ultralight C commands class for PCSC reader.
Definition:
mifareultralightcpcsccommands.hpp:25
logicalaccess::MifareUltralightPCSCCommands
The Mifare Ultralight commands class for PCSC reader.
Definition:
mifareultralightpcsccommands.hpp:25
ByteVector
std::vector< uint8_t > ByteVector
Definition:
lla_fwd.hpp:80
mifareultralightccommands.hpp
Mifare Ultralight C commands.
mifareultralightpcsccommands.hpp
Mifare Ultralight pcsc card.
logicalaccess
Definition:
asn1.hpp:9
Generated on Wed Mar 29 2023 13:50:38 for LibLogicalAccess by
1.9.6