36 virtual const std::vector<uint8_t>&
getApdu()
const = 0;
44 virtual const std::vector<uint8_t>
getDataOut()
const = 0;
58 operator<<(std::ostream& os,
const std::shared_ptr<ApduResponseApi> ara) {
59 os <<
"APDU_RESPONSE_API: {"
60 <<
"APDU = " << ara->getApdu() <<
", "
61 <<
"DATA_OUT = " << ara->getDataOut() <<
", "
62 <<
"STATUS_WORD = " << ara->getStatusWord() <<
"}";
71 operator<<(std::ostream& os,
const std::vector<std::shared_ptr<ApduResponseApi>>& aras) {
72 os <<
"APDU_RESPONSE_APIS: {";
73 for (
auto it = aras.begin(); it != aras.end(); ++it) {
74 if (it != aras.begin())
friend std::ostream & operator<<(std::ostream &os, const std::shared_ptr< ApduResponseApi > ara)
virtual const std::vector< uint8_t > & getApdu() const =0
virtual const std::vector< uint8_t > getDataOut() const =0
virtual int getStatusWord() const =0