63 std::stringstream ssSw;
64 for (
auto it = std::begin(sw); it != std::end(sw); ++it) {
65 ssSw << std::uppercase << std::hex << std::setfill(
'0')
66 << std::setw(4) <<
static_cast<int>(*it);
67 if (it != sw.end() - 1) {
72 os <<
"CARD_SELECTION_REQUEST_SPI: {"
73 <<
"SUCCESSFUL_SELECTON_STATUS_WORDS: " << ssSw.str() <<
", "
84 std::ostream& os,
const std::shared_ptr<CardSelectionRequestSpi> csr) {
96 const std::vector<std::shared_ptr<CardSelectionRequestSpi>>& csrs) {
97 os <<
"CARD_SELECTION_REQUEST_SPIS: {";
99 for (
auto it = std::begin(csrs); it != std::end(csrs); ++it) {
101 if (it != csrs.end() - 1) {
Data provided as input to the selection process.
friend std::ostream & operator<<(std::ostream &os, const CardSelectionRequestSpi &csr)
virtual const std::vector< int > & getSuccessfulSelectionStatusWords() const =0
Gets the list of successful selection status words.
virtual const std::shared_ptr< CardRequestSpi > getCardRequest() const =0
Gets the card request.
virtual ~CardSelectionRequestSpi()=default
Virtual destructor.