LibLogicalAccess
2.5.0
An Open Source RFID Library
|
#include <mifareplussl3commands.hpp>
Public Member Functions | |
MifarePlusSL3Commands_NEW () | |
MifarePlusSL3Commands_NEW (std::string ct) | |
bool | authenticate (int sector, std::shared_ptr< AES128Key > key, MifareKeyType type) |
void | resetAuth () const |
virtual ByteVector | readBinaryPlain (unsigned char blockno, size_t len) |
![]() | |
Commands ()=delete | |
Constructor. | |
virtual | ~Commands () |
std::shared_ptr< Chip > | getChip () const override |
Get the chip. | |
virtual void | setChip (std::shared_ptr< Chip > chip) |
Set the chip. | |
std::shared_ptr< ReaderCardAdapter > | getReaderCardAdapter () const override |
Get the reader/card adapter. | |
virtual void | setReaderCardAdapter (std::shared_ptr< ReaderCardAdapter > adapter) |
Set the reader/card adapter. | |
virtual const std::string & | getCmdType () const |
Get the cmd name. | |
virtual void | setCmdType (const std::string &command_type) |
Set the cmd name. | |
![]() | |
virtual | ~ICommands ()=default |
virtual std::shared_ptr< Chip > | getChip () const =0 |
Get the chip. | |
virtual std::shared_ptr< ReaderCardAdapter > | getReaderCardAdapter () const =0 |
Get the reader/card adapter. | |
Private Attributes | |
std::unique_ptr< MifarePlusSL3Auth > | auth_ |
Additional Inherited Members | |
![]() | |
Commands (std::string commandtype) | |
Constructor. | |
![]() | |
std::shared_ptr< ReaderCardAdapter > | d_readerCardAdapter |
The reader/card adapter. | |
std::weak_ptr< Chip > | d_chip |
The chip. | |
std::string | d_commandtype |
The command type. | |
|
inline |
|
inlineexplicit |
bool logicalaccess::MifarePlusSL3Commands_NEW::authenticate | ( | int | sector, |
std::shared_ptr< AES128Key > | key, | ||
MifareKeyType | type | ||
) |
|
virtual |
void logicalaccess::MifarePlusSL3Commands_NEW::resetAuth | ( | ) | const |
|
private |