LibLogicalAccess
2.5.0
An Open Source RFID Library
|
The Mifare Ultralight C commands class for Omnikey xx22 reader. More...
#include <mifareultralightcomnikeyxx22commands.hpp>
Public Member Functions | |
MifareUltralightCOmnikeyXX22Commands () | |
Constructor. | |
MifareUltralightCOmnikeyXX22Commands (std::string) | |
virtual | ~MifareUltralightCOmnikeyXX22Commands () |
Destructor. | |
void | authenticate (std::shared_ptr< TripleDESKey > authkey) override |
Authenticate to the chip. | |
void | writePage (int page, const ByteVector &buf) override |
![]() | |
MifareUltralightPCSCCommands () | |
Constructor. | |
MifareUltralightPCSCCommands (std::string) | |
virtual | ~MifareUltralightPCSCCommands () |
Destructor. | |
std::shared_ptr< PCSCReaderCardAdapter > | getPCSCReaderCardAdapter () const |
Get the PC/SC reader/card adapter. | |
ByteVector | readPage (int page) override |
Read a whole page. | |
void | writePage (int page, const ByteVector &buf) override |
Write a whole page. | |
![]() | |
MifareUltralightCommands () | |
MifareUltralightCommands (std::string ct) | |
virtual ByteVector | readPages (int start_page, int stop_page) |
Read several pages. | |
virtual void | writePages (int start_page, int stop_page, const ByteVector &buf) |
Write several pages. | |
virtual void | lockPage (int page) |
Set a page as read-only. | |
virtual ByteVector | readPage (int page)=0 |
Read a whole page. | |
virtual void | writePage (int page, const ByteVector &buf)=0 |
Write a whole page. | |
![]() | |
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. | |
![]() | |
virtual | ~MifareUltralightCCommands ()=default |
void | authenticate (std::shared_ptr< AccessInfo > aiToUse) |
Authenticate to the chip. | |
void | changeKey (std::shared_ptr< AccessInfo > aiToWrite) |
Change the chip authentication key. | |
virtual void | changeKey (std::shared_ptr< TripleDESKey > key) |
Change the chip authentication key. | |
virtual void | lockPage (int page) |
Set a page as read-only. | |
virtual void | authenticate (std::shared_ptr< TripleDESKey > authkey)=0 |
Authenticate to the chip. | |
virtual void | writePage (int page, const ByteVector &buf)=0 |
Protected Member Functions | |
std::shared_ptr< MifareUltralightChip > | getMifareUltralightChip () override |
virtual std::shared_ptr< MifareUltralightChip > | getMifareUltralightChip () |
![]() | |
Commands (std::string commandtype) | |
Constructor. | |
![]() | |
std::shared_ptr< MifareUltralightCChip > | getMifareUltralightCChip () |
virtual std::shared_ptr< MifareUltralightChip > | getMifareUltralightChip ()=0 |
Additional Inherited Members | |
![]() | |
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. | |
The Mifare Ultralight C commands class for Omnikey xx22 reader.
logicalaccess::MifareUltralightCOmnikeyXX22Commands::MifareUltralightCOmnikeyXX22Commands | ( | ) |
Constructor.
|
explicit |
|
virtual |
Destructor.
|
overridevirtual |
Authenticate to the chip.
authkey | The authentication key. |
Implements logicalaccess::MifareUltralightCCommands.
|
overrideprotectedvirtual |
Implements logicalaccess::MifareUltralightCCommands.
|
overridevirtual |
Implements logicalaccess::MifareUltralightCCommands.