|
LibLogicalAccess
2.5.0
An Open Source RFID Library
|
The Mifare Ultralight C commands class. More...
#include <mifareultralightccommands.hpp>
Public Member Functions | |
| 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< MifareUltralightCChip > | getMifareUltralightCChip () |
| virtual std::shared_ptr< MifareUltralightChip > | getMifareUltralightChip ()=0 |
The Mifare Ultralight C commands class.
|
virtualdefault |
| void logicalaccess::MifareUltralightCCommands::authenticate | ( | std::shared_ptr< AccessInfo > | aiToUse | ) |
Authenticate to the chip.
| aiToUse | The access information to use for authentication. |
|
pure virtual |
Authenticate to the chip.
| authkey | The authentication key. |
Implemented in logicalaccess::MifareUltralightCOmnikeyXX22Commands, and logicalaccess::MifareUltralightCPCSCCommands.
| void logicalaccess::MifareUltralightCCommands::changeKey | ( | std::shared_ptr< AccessInfo > | aiToWrite | ) |
Change the chip authentication key.
| aiToWrite | The access information to write. |
|
virtual |
Change the chip authentication key.
| key | The new key. |
|
protected |
|
protectedpure virtual |
|
virtual |
Set a page as read-only.
| page | The page to lock. |
|
pure virtual |
1.9.6