|
| SAMCommands () |
|
| SAMCommands (std::string ct) |
|
virtual SAMVersion | getVersion ()=0 |
|
virtual std::shared_ptr< SAMKeyEntry< T, S > > | getKeyEntry (unsigned char keyno)=0 |
|
virtual std::shared_ptr< SAMKucEntry > | getKUCEntry (unsigned char keyno)=0 |
|
virtual void | changeKeyEntry (unsigned char keyno, std::shared_ptr< SAMKeyEntry< T, S > > keyentry, std::shared_ptr< DESFireKey > key)=0 |
|
virtual void | changeKUCEntry (unsigned char keyno, std::shared_ptr< SAMKucEntry > keyentry, std::shared_ptr< DESFireKey > key)=0 |
|
virtual void | authenticateHost (std::shared_ptr< DESFireKey > key, unsigned char keyno)=0 |
|
virtual std::string | getSAMTypeFromSAM ()=0 |
|
virtual void | disableKeyEntry (unsigned char keyno)=0 |
|
virtual void | selectApplication (ByteVector aid)=0 |
|
virtual ByteVector | dumpSessionKey ()=0 |
|
virtual void | loadInitVector (ByteVector iv)=0 |
|
virtual ByteVector | decipherData (ByteVector data, bool islastdata)=0 |
|
virtual ByteVector | encipherData (ByteVector data, bool islastdata)=0 |
|
virtual ByteVector | changeKeyPICC (const ChangeKeyInfo &info, const ChangeKeyDiversification &diversifycation)=0 |
|
virtual void | lockUnlock (std::shared_ptr< DESFireKey > masterKey, SAMLockUnlock state, unsigned char keyno, unsigned char unlockkeyno, unsigned char unlockkeyversion)=0 |
|
virtual ByteVector | transmit (ByteVector cmd, bool first=true, bool last=true)=0 |
|
Public Member Functions inherited from logicalaccess::Commands |
| 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.
|
|
Public Member Functions inherited from logicalaccess::ICommands |
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.
|
|