20#include "CalypsoSam.h"
21#include "CalypsoSamSelection.h"
24#include "CardSelectionSpi.h"
32#include "LoggerFactory.h"
39using namespace calypsonet::terminal::calypso::sam;
40using namespace calypsonet::terminal::card::spi;
41using namespace keyple::core::util::cpp;
73 const std::shared_ptr<SmartCardSpi>
parse(
74 const std::shared_ptr<CardSelectionResponseApi> cardSelectionResponse)
override;
95 CalypsoSamSelection&
setUnlockData(
const std::string& unlockData)
override;
101 const std::unique_ptr<Logger> mLogger =
107 static const int SW_NOT_LOCKED;
112 const std::shared_ptr<CardSelectorAdapter> mSamCardSelector;
122 std::string mSerialNumberRegex;
127 std::shared_ptr<CmdSamUnlock> mUnlockCommand;
139 const std::string& samSerialNumberRegex);
CalypsoSamSelection & setUnlockData(const std::string &unlockData) override
CalypsoSamSelectionAdapter()
CalypsoSamSelection & filterByProductType(const CalypsoSam::ProductType productType) override
const std::shared_ptr< SmartCardSpi > parse(const std::shared_ptr< CardSelectionResponseApi > cardSelectionResponse) override
const std::shared_ptr< CardSelectionRequestSpi > getCardSelectionRequest() override
CalypsoSamSelection & filterBySerialNumber(const std::string &serialNumberRegex) override
CalypsoSam::ProductType ProductType