LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
mifareplussl3commands.hpp
Go to the documentation of this file.
1
7#ifndef LOGICALACCESS_MIFAREPLUSSL3COMMANDS_HPP
8#define LOGICALACCESS_MIFAREPLUSSL3COMMANDS_HPP
9
14
15namespace logicalaccess
16{
17#define CMD_MIFAREPLUSSL3 "MifarePlusSL3"
18
19class LLA_CARDS_MIFAREPLUS_API MifarePlusSL3Commands_NEW : public Commands
20{
21 public:
24 {
25 }
26
27 explicit MifarePlusSL3Commands_NEW(std::string ct)
28 : Commands(ct)
29 {
30 }
31
32 bool authenticate(int sector, std::shared_ptr<AES128Key> key, MifareKeyType type);
33
34 void resetAuth() const;
35
36 virtual ByteVector readBinaryPlain(unsigned char blockno, size_t len);
37
38 private:
39 std::unique_ptr<MifarePlusSL3Auth> auth_;
40};
41}
42
43#endif /* LOGICALACCESS_MIFAREPLUSSL3COMMANDS_HPP*/
AES128 key.
The base commands class for all card commands.
Definition: commands.hpp:21
Definition: mifareplussl3commands.hpp:20
MifarePlusSL3Commands_NEW()
Definition: mifareplussl3commands.hpp:22
MifarePlusSL3Commands_NEW(std::string ct)
Definition: mifareplussl3commands.hpp:27
std::unique_ptr< MifarePlusSL3Auth > auth_
Definition: mifareplussl3commands.hpp:39
std::vector< uint8_t > ByteVector
Definition: lla_fwd.hpp:80
MifareAccessInfo.
Mifare commands.
#define CMD_MIFAREPLUSSL3
Definition: mifareplussl3commands.hpp:17
Definition: asn1.hpp:9
MifareKeyType
Mifare Key Type.
Definition: mifareaccessinfo.hpp:18