|
| OSDPReaderCardAdapter (std::shared_ptr< OSDPCommands > command, unsigned char address, std::shared_ptr< DESFireISO7816ResultChecker > resultChecker) |
|
| ~OSDPReaderCardAdapter () |
|
ByteVector | sendCommand (const ByteVector &command, long timeout=-1) override |
| Send a command to the reader.
|
|
std::shared_ptr< OSDPCommands > | getOSDPCommands () const |
|
unsigned char | getRS485Address () const |
|
virtual ISO7816Response | sendAPDUCommand (const ByteVector &data) |
| Send an APDU command to the reader.
|
|
virtual ISO7816Response | sendAPDUCommand (unsigned char cla, unsigned char ins, unsigned char p1, unsigned char p2, unsigned char lc, const ByteVector &data, unsigned char le) |
| Send an APDU command to the reader.
|
|
virtual ISO7816Response | sendAPDUCommand (unsigned char cla, unsigned char ins, unsigned char p1, unsigned char p2, unsigned char lc, const ByteVector &data) |
| Send an APDU command to the reader.
|
|
virtual ISO7816Response | sendAPDUCommand (unsigned char cla, unsigned char ins, unsigned char p1, unsigned char p2, const ByteVector &data) |
| Send an APDU command to the reader.
|
|
virtual ISO7816Response | sendAPDUCommand (unsigned char cla, unsigned char ins, unsigned char p1, unsigned char p2, unsigned char lc, unsigned char le) |
| Send an APDU command to the reader without data.
|
|
virtual ISO7816Response | sendAPDUCommand (unsigned char cla, unsigned char ins, unsigned char p1, unsigned char p2, unsigned char le) |
| Send an APDU command to the reader without data.
|
|
virtual ISO7816Response | sendAPDUCommand (unsigned char cla, unsigned char ins, unsigned char p1, unsigned char p2) |
| Send an APDU command to the reader without data.
|
|
virtual ISO7816Response | sendExtendedAPDUCommand (unsigned char cla, unsigned char ins, unsigned char p1, unsigned char p2, unsigned short lc, const ByteVector &data) |
| Send an extended APDU command to the reader.
|
|
virtual ISO7816Response | sendExtendedAPDUCommand (unsigned char cla, unsigned char ins, unsigned char p1, unsigned char p2, unsigned short lc, const ByteVector &data, unsigned short le) |
| Send an extended APDU command to the reader.
|
|
ByteVector | adaptCommand (const ByteVector &command) override |
| Adapt the command to send to the reader.
|
|
ByteVector | adaptAnswer (const ByteVector &answer) override |
| Adapt the answer received from the reader.
|
|
void | setCrypto (std::shared_ptr< ISO24727Crypto > crypto) |
|
virtual | ~ReaderCardAdapter () |
|
| ReaderCardAdapter () |
|
virtual ByteVector | adaptCommand (const ByteVector &command) |
| Adapt the command to send to the reader.
|
|
virtual ByteVector | adaptAnswer (const ByteVector &answer) |
| Adapt the answer received from the reader.
|
|
std::shared_ptr< DataTransport > | getDataTransport () const |
| Get the data transport.
|
|
void | setDataTransport (std::shared_ptr< DataTransport > dataTransport) |
| Set the data transport.
|
|
virtual ByteVector | sendCommand (const ByteVector &command, long timeout=-1) |
| Send a command to the reader.
|
|
virtual std::shared_ptr< ResultChecker > | getResultChecker () const |
| Get the result checker.
|
|
virtual void | setResultChecker (std::shared_ptr< ResultChecker > checker) |
| Set the result checker.
|
|
A reader/card adapter for Transparent Smart Card Interface OSDP.