|
Keypop Card C++ API - 2.0.1
Component of the Keypop C++ API
|
Group of multiple APDU responses. More...
#include <keypop/card/CardResponseApi.hpp>
Public Member Functions | |
| virtual | ~CardResponseApi ()=default |
| virtual const std::vector< std::shared_ptr< ApduResponseApi > > & | getApduResponses () const =0 |
| Gets a list of all responses received to the executed APDU requests. More... | |
| virtual bool | isLogicalChannelOpen () const =0 |
| Gets the state of the logical channel following the execution of the request. More... | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const CardResponseApi &cra) |
| std::ostream & | operator<< (std::ostream &os, const std::shared_ptr< CardResponseApi > cra) |
Group of multiple APDU responses.
Contains a list of keypop::card::ApduResponseApi received from the card in response to a keypop::card::spi::CardRequestSpi and the associated execution status.
The execution status includes the state of the logical channel after the operation and the information saying whether a response is present for all APDUs in the keypop::card::spi::CardRequestSpi.
Responses may be missing when this object is embedded in an keypop::card::AbstractApduException, for example, if the card is removed durin processing or if an unsuccessful status word was received and processing was requested to be stopped in this case (see keypop::card::spi::CardRequestSpi::stopOnUnsuccessfulStatusWord()).
Definition at line 43 of file CardResponseApi.hpp.
|
virtualdefault |
|
pure virtual |
Gets a list of all responses received to the executed APDU requests.
|
pure virtual |
Gets the state of the logical channel following the execution of the request.
|
friend |
Definition at line 72 of file CardResponseApi.hpp.
|
friend |
Definition at line 84 of file CardResponseApi.hpp.