14#include "keyple/card/calypso/CommandRatification.hpp"
18#include "keyple/card/calypso/CalypsoCardAdapter.hpp"
19#include "keyple/core/util/ApduUtil.hpp"
25using keyple::core::util::ApduUtil;
27CommandRatification::CommandRatification(
28 const std::shared_ptr<DtoAdapters::TransactionContextDto>&
30 const std::shared_ptr<DtoAdapters::CommandContextDto>& commandContext)
32 CardCommandRef::RATIFICATION,
33 std::unique_ptr<int>(new int(0)),
38 std::make_shared<DtoAdapters::ApduRequestAdapter>(ApduUtil::build(
39 getTransactionContext()->getCard()->getCardClass().getValue(),
40 getCommandRef().getInstructionByte(),
46CommandRatification::finalizeRequest()
52CommandRatification::isCryptoServiceRequiredToFinalizeRequest()
const
58CommandRatification::synchronizeCryptoServiceBeforeCardProcessing()
64CommandRatification::parseResponse(
65 std::shared_ptr<ApduResponseApi> apduResponse)
68 Command::setApduResponseAndCheckStatus(apduResponse);
70 }
catch (
const CardCommandException&) {