#include <ApduRequestSpi.hpp>
Data to build a single APDU command to be sent to a card.
- See also
- org.calypsonet.terminal.card.ApduResponseApi
- Since
- 1.0.0
Definition at line 28 of file ApduRequestSpi.hpp.
◆ ~ApduRequestSpi()
virtual keypop::card::spi::ApduRequestSpi::~ApduRequestSpi |
( |
| ) |
|
|
virtualdefault |
◆ getApdu()
virtual std::vector< uint8_t > & keypop::card::spi::ApduRequestSpi::getApdu |
( |
| ) |
|
|
pure virtual |
Gets the APDU bytes to be sent to the card.
- Returns
- A array of at least 4 bytes.
- Since
- 1.0.0
◆ getInfo()
virtual const std::string & keypop::card::spi::ApduRequestSpi::getInfo |
( |
| ) |
const |
|
pure virtual |
Gets the information about this APDU request (e.g. command name).
These information are intended to improve the logging.
- Returns
- Null if no information has been defined.
- Since
- 1.0.0
◆ getSuccessfulStatusWords()
virtual const std::vector< int > & keypop::card::spi::ApduRequestSpi::getSuccessfulStatusWords |
( |
| ) |
const |
|
pure virtual |
Gets the list of status words that must be considered successful for the APDU.
- Returns
- A set of integer values containing at least 9000h.
- Since
- 1.0.0
◆ operator<< [1/3]
◆ operator<< [2/3]
std::ostream & operator<< |
( |
std::ostream & |
os, |
|
|
const std::shared_ptr< ApduRequestSpi > |
ars |
|
) |
| |
|
friend |
◆ operator<< [3/3]
std::ostream & operator<< |
( |
std::ostream & |
os, |
|
|
const std::vector< std::shared_ptr< ApduRequestSpi > > & |
ars |
|
) |
| |
|
friend |
The documentation for this class was generated from the following file: