27#include "LoggerFactory.h"
33using namespace keyple::core::util::cpp;
59 const std::shared_ptr<CalypsoCardAdapter> calypsoCard,
61 const uint8_t counterValue,
62 const int incDecValue);
69 void parseApduResponse(
const std::shared_ptr<ApduResponseApi> apduResponse)
override;
117 const std::map<const int, const std::shared_ptr<StatusProperties>>&
getStatusTable()
const
125 static const int SW_POSTPONED_DATA;
130 const std::unique_ptr<Logger> mLogger =
136 static const std::map<const int, const std::shared_ptr<StatusProperties>> STATUS_TABLE;
146 const uint8_t mCounterNumber;
151 const int mIncDecValue;
156 std::vector<uint8_t> mComputedData;
161 static const std::map<const int, const std::shared_ptr<StatusProperties>> initStatusTable();
void setComputedData(const std::vector< uint8_t > &data)
void parseApduResponse(const std::shared_ptr< ApduResponseApi > apduResponse) override
bool isSessionBufferUsed() const override
CmdCardIncreaseOrDecrease(const bool isDecreaseCommand, const std::shared_ptr< CalypsoCardAdapter > calypsoCard, const uint8_t sfi, const uint8_t counterValue, const int incDecValue)
uint8_t getCounterNumber() const
int getIncDecValue() const
const std::map< const int, const std::shared_ptr< StatusProperties > > & getStatusTable() const override
AbstractApduCommand::StatusProperties StatusProperties