20#include "keypop/reader/transaction/spi/CardTransactionManager.hpp"
23namespace genericcard {
31:
public keypop::reader::transaction::spi::CardTransactionManager<
32 CardTransactionManager> {
80 const std::uint8_t cla,
81 const std::uint8_t ins,
82 const std::uint8_t p1,
83 const std::uint8_t p2,
84 const std::vector<std::uint8_t>& dataIn,
85 const std::uint8_t le)
101 const std::uint8_t cla,
102 const std::uint8_t ins,
103 const std::uint8_t p1,
104 const std::uint8_t p2,
105 const std::vector<std::uint8_t>& dataIn)
126 virtual const std::vector<std::vector<std::uint8_t>>
Provides basic methods to prepare and process APDU exchange with a card.
virtual CardTransactionManager & prepareApdu(const std::vector< std::uint8_t > &apduCommand)=0
Prepares an APDU to be transmitted the next time processCommands(keypop::reader::ChannelControl) is i...
virtual CardTransactionManager & prepareApdu(const std::string &apduCommand)=0
Prepares an APDU to be transmitted the next time processCommands(keypop::reader::ChannelControl) is i...
virtual ~CardTransactionManager()=default
virtual CardTransactionManager & prepareApdu(const std::uint8_t cla, const std::uint8_t ins, const std::uint8_t p1, const std::uint8_t p2, const std::vector< std::uint8_t > &dataIn, const std::uint8_t le)=0
Prepares an APDU to be transmitted the next time processCommands(keypop::reader::ChannelControl) is i...
virtual const std::vector< std::string > getResponsesAsHexStrings()=0
Returns the list of responses corresponding to the commands executed by the last call to processComma...
virtual CardTransactionManager & prepareApdu(const std::uint8_t cla, const std::uint8_t ins, const std::uint8_t p1, const std::uint8_t p2, const std::vector< std::uint8_t > &dataIn)=0
Prepares an APDU to be transmitted the next time processCommands(keypop::reader::ChannelControl) is i...
virtual const std::vector< std::vector< std::uint8_t > > getResponsesAsByteArrays()=0
Returns the list of responses corresponding to the commands executed by the last call to processComma...