21#include "IllegalArgumentException.h"
27using namespace keyple::core::util;
31const std::map<const int, const std::shared_ptr<StatusProperties>>
32 CmdSamDigestClose::STATUS_TABLE = initStatusTable();
35 const int expectedResponseLength)
39 std::make_shared<ApduRequestAdapter>(
44 static_cast<uint8_t
>(expectedResponseLength))));
52const std::map<const int, const std::shared_ptr<StatusProperties>>
53 CmdSamDigestClose::initStatusTable()
55 std::map<const int, const std::shared_ptr<StatusProperties>> m =
59 std::make_shared<StatusProperties>(
"Preconditions not satisfied.",
65const std::map<const int, const std::shared_ptr<StatusProperties>>&
virtual const std::shared_ptr< ApduResponseApi > getApduResponse() const final
virtual bool isSuccessful() const final
virtual void setApduRequest(const std::shared_ptr< ApduRequestAdapter > apduRequest) final
static const std::map< const int, const std::shared_ptr< StatusProperties > > STATUS_TABLE
static const CalypsoSamCommand DIGEST_CLOSE
uint8_t getInstructionByte() const override
CmdSamDigestClose(const CalypsoSam::ProductType productType, const int expectedResponseLength)
const std::map< const int, const std::shared_ptr< StatusProperties > > & getStatusTable() const override
const std::vector< uint8_t > getSignature() const
static uint8_t getClassByte(const ProductType productType)
CalypsoSam::ProductType ProductType