41 virtual std::vector<uint8_t>&
getApdu() = 0;
59 virtual const std::string&
getInfo()
const = 0;
66 os <<
"APDU_REQUEST_SPI: {"
67 <<
"APDU: " << ars.
getApdu() <<
", "
69 <<
"INFO: " << ars.
getInfo() <<
"}";
78 operator<<(std::ostream& os,
const std::shared_ptr<ApduRequestSpi> ars) {
80 os <<
"APDU_REQUEST_SPI: null";
92 operator<<(std::ostream& os,
const std::vector<std::shared_ptr<ApduRequestSpi>>& ars) {
93 os <<
"APDU_REQUEST_SPIS: {";
95 for (
auto it = ars.begin(); it != ars.end(); it++) {
96 if (it != ars.begin()) {
virtual ~ApduRequestSpi()=default
virtual const std::string & getInfo() const =0
virtual std::vector< uint8_t > & getApdu()=0
virtual const std::vector< int > & getSuccessfulStatusWords() const =0
friend std::ostream & operator<<(std::ostream &os, ApduRequestSpi &ars)