LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
mifareplus_omnikeyxx21_sl1.hpp
Go to the documentation of this file.
1//
2// Created by xaqq on 7/1/15.
3//
4
5#ifndef LIBLOGICALACCESS_MIFAREPLUS_OMNIKEYXX21_SL1_H
6#define LIBLOGICALACCESS_MIFAREPLUS_OMNIKEYXX21_SL1_H
7
10
11namespace logicalaccess
12{
13class LLA_READERS_PCSC_API MifarePlusOmnikeyXX21SL1Commands
15{
16 public:
24 bool AESAuthenticate(std::shared_ptr<AES128Key> ptr, uint16_t keyslot) override;
25
26 private:
39 {
40 public:
41 explicit GenericSessionGuard(Commands *cmd);
43
44 private:
46 {
47 ByteVector adaptCommand(const ByteVector &command) override;
48
49 ByteVector adaptAnswer(const ByteVector &answer) override;
50 };
51
55 std::shared_ptr<PCSCReaderCardAdapter> rca_;
56
58
59 std::shared_ptr<Adapter> adapter_;
60 };
61};
62}
63
64#endif // LIBLOGICALACCESS_MIFAREPLUS_OMNIKEYXX21_SL1_H
The base commands class for all card commands.
Definition: commands.hpp:21
std::shared_ptr< Adapter > adapter_
Definition: mifareplus_omnikeyxx21_sl1.hpp:59
std::shared_ptr< PCSCReaderCardAdapter > rca_
Definition: mifareplus_omnikeyxx21_sl1.hpp:55
Commands * cmd_
Definition: mifareplus_omnikeyxx21_sl1.hpp:57
Definition: mifareplus_omnikeyxx21_sl1.hpp:15
Definition: mifareplussl1commands.hpp:98
A reader/card adapter base class. It provide an abstraction layer between the card and the reader to ...
Definition: readercardadapter.hpp:20
std::vector< uint8_t > ByteVector
Definition: lla_fwd.hpp:80
Definition: asn1.hpp:9