Keyple C++  0.9.0
Keyple, an Open Source SDK for Ticketing
Classes | Namespaces
AbstractPoCommandBuilder.h File Reference
#include <memory>
#include <type_traits>
#include "LoggerFactory.h"
#include "ApduRequest.h"
#include "ApduResponse.h"
#include "AbstractPoCommandBuilder.h"
#include "AbstractIso7816CommandBuilder.h"
#include "CalypsoPoCommand.h"
#include "KeypleCalypsoExport.h"

Classes

class  keyple::calypso::command::po::AbstractPoCommandBuilder< T >
 

Namespaces

 keyple
 
 keyple::calypso
 
 keyple::calypso::command
 
 keyple::calypso::command::po
 
keyple::calypso::transaction::PoTransaction::prepareRehabilitate
void prepareRehabilitate()
Definition: PoTransaction.cpp:1370
keyple::core::command::SeCommand::getName
virtual const std::string & getName() const =0
keyple::plugin::pcsc::PcscPluginImpl::nativeReadersNames
std::set< std::string > nativeReadersNames
Definition: PcscPluginImpl.h:53
KeypleSeCommandException.h
keyple::core::seproxy::SeSelector::AidSelector::getSuccessfulSelectionStatusCodes
std::shared_ptr< std::set< int > > getSuccessfulSelectionStatusCodes() const
Definition: SeSelector.cpp:151
keyple::calypso::transaction::DirectoryHeader::DirectoryHeaderBuilder::DirectoryHeaderBuilder
DirectoryHeaderBuilder()
Definition: DirectoryHeader.cpp:36
keyple::calypso::transaction::CalypsoPoUtils::SFI_MIN
static const int SFI_MIN
Definition: CalypsoPoUtils.h:67
keyple::core::seproxy::SeSelector::AtrFilter::getAtrRegex
virtual std::string getAtrRegex()
Definition: SeSelector.cpp:190
keyple::plugin::pcsc::PcscPluginFactory
Definition: PcscPluginFactory.h:32
keyple::core::seproxy::message::DefaultSelectionsRequest::DefaultSelectionsRequest
DefaultSelectionsRequest(const std::vector< std::shared_ptr< SeRequest >> &selectionSeRequests, const MultiSeRequestProcessing &multiSeRequestProcessing, const ChannelControl &channelControl)
Definition: DefaultSelectionsRequest.cpp:24
StubPoolPluginImpl.h
keyple::common::exception::Exception::Exception
Exception(const std::string &message, const std::exception cause)
Definition: Exception.h:39
keyple::calypso::transaction::exception::CalypsoPoCloseSecureSessionException
Definition: CalypsoPoCloseSecureSessionException.h:37
keyple::common::Byte::Byte
Byte(const Byte &b)
Definition: Byte.h:83
keyple::calypso::command::po::parser::DecreaseRespPars
Definition: DecreaseRespPars.h:41
keyple::calypso::command::po::builder::DecreaseCmdBuild::getSfi
uint8_t getSfi() const
Definition: DecreaseCmdBuild.cpp:84
keyple::calypso::exception::CalypsoNoSamResourceAvailableException
Definition: CalypsoNoSamResourceAvailableException.h:32
keyple::calypso::transaction::CalypsoPo::getSoftwareRevision
uint8_t getSoftwareRevision() const
Definition: CalypsoPo.cpp:299
keyple::core::seproxy::message::ApduResponse::isSuccessful
bool isSuccessful() const
Definition: ApduResponse.cpp:55
keyple::calypso::command::po::parser::GetDataFciRespPars::getDfName
const std::vector< uint8_t > & getDfName() const
Definition: GetDataFciRespPars.cpp:182
KeypleReaderException.h
keyple::core::seproxy::ReaderPlugin::~ReaderPlugin
virtual ~ReaderPlugin()=default
keyple::calypso::transaction::CalypsoPoUtils::SEL_SFI_OFFSET
static const int SEL_SFI_OFFSET
Definition: CalypsoPoUtils.h:113
keyple::core::seproxy::plugin::NotificationMode
ObservableReader::NotificationMode NotificationMode
Definition: AbstractLocalReader.cpp:58
keyple::calypso::command::sam::parser::security::GiveRandomRespPars::getStatusTable
const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const override
Definition: GiveRandomRespPars.cpp:57
keyple::core::selection::AbstractMatchingSe::hasFci
bool hasFci() const
Definition: AbstractMatchingSe.cpp:58
keyple::core::seproxy::message::ApduResponse::operator==
bool operator==(const ApduResponse &o) const
Definition: ApduResponse.cpp:86
keyple::calypso::transaction::SamSelector::SamSelectorBuilder::SamSelector
friend SamSelector
Definition: SamSelector.h:53
keyple::plugin::stub::StubReader::removeSe
virtual void removeSe()=0
keyple::plugin::stub::StubReader
Definition: StubReader.h:25
Cast.h
keyple::calypso::transaction::SvDebitLogRecord::getDebitTimeBytes
const std::vector< uint8_t > getDebitTimeBytes() const
Definition: SvDebitLogRecord.cpp:47
CalypsoPoIOException.h
keyple::calypso::command::po::builder::UpdateRecordCmdBuild::getSfi
uint8_t getSfi() const
Definition: UpdateRecordCmdBuild.cpp:72
std::reinterpret_pointer_cast
std::shared_ptr< To > reinterpret_pointer_cast(std::shared_ptr< From > const &ptr) noexcept
Definition: KeypleStd.h:28
PcscReader.h
keyple::calypso::transaction::exception::CalypsoPoTransactionIllegalStateException::CalypsoPoTransactionIllegalStateException
CalypsoPoTransactionIllegalStateException(const std::string &message)
Definition: CalypsoPoTransactionIllegalStateException.h:34
keyple::core::seproxy::plugin::WaitForSeRemoval
Definition: WaitForSeRemoval.h:40
RehabilitateRespPars.h
keyple::calypso::command::sam::builder::security::SamReadCeilingsCmdBuild::createResponseParser
std::shared_ptr< SamReadCeilingsRespPars > createResponseParser(std::shared_ptr< ApduResponse > apduResponse) override
Definition: SamReadCeilingsCmdBuild.cpp:69
keyple::core::seproxy::plugin::AbstractLocalReader::closeLogicalAndPhysicalChannels
void closeLogicalAndPhysicalChannels()
Definition: AbstractLocalReader.cpp:615
keyple::calypso::command::sam::CalypsoSamCommand::DIGEST_INIT
static const CalypsoSamCommand DIGEST_INIT
Definition: CalypsoSamCommand.h:43
keyple::calypso::transaction::PoTransaction::SessionSetting::AccessLevel
Definition: PoTransaction.h:184
keyple::calypso::transaction::PoSelectionRequest::prepareSelectFile
void prepareSelectFile(const std::vector< uint8_t > &lid)
Definition: PoSelectionRequest.cpp:69
keyple::calypso::command::sam::builder::security::DigestUpdateCmdBuild::DigestUpdateCmdBuild
DigestUpdateCmdBuild(const SamRevision &revision, const bool encryptedSession, const std::vector< uint8_t > &digestData)
Definition: DigestUpdateCmdBuild.cpp:33
CalypsoSamAccessForbiddenException.h
DigestAuthenticateRespPars.h
keyple::calypso::transaction::CalypsoPoUtils::getSvGetData
static const std::vector< uint8_t > getSvGetData()
Definition: CalypsoPoUtils.cpp:650
keyple::plugin::stub::StubPoolPluginImpl::mStubPlugin
std::shared_ptr< StubPluginImpl > mStubPlugin
Definition: StubPoolPluginImpl.h:46
keyple::common::Thread::Thread
Thread()
Definition: Thread.h:35
keyple::core::seproxy::plugin::AbstractObservableState::onDeactivate
void onDeactivate()
Definition: AbstractObservableState.cpp:74
keyple::core::seproxy::SeSelector::AtrFilter
Definition: SeSelector.h:360
keyple::calypso::command::sam::parser::security::DigestInitRespPars::DigestInitRespPars
DigestInitRespPars(const std::shared_ptr< ApduResponse > response, DigestInitCmdBuild *builder)
Definition: DigestInitRespPars.cpp:72
keyple::calypso::command::po::parser::security::OpenSession24RespPars
Definition: OpenSession24RespPars.h:37
keyple::calypso::command::sam::exception::CalypsoSamCommandException
Definition: CalypsoSamCommandException.h:35
keyple::calypso::transaction::Operation
PoTransaction::SvSettings::Operation Operation
Definition: PoCommandManager.h:31
keyple::common::exception::IllegalArgumentException
Definition: IllegalArgumentException.h:22
keyple::common::Byte
Definition: Byte.h:27
KeypleCoreExport.h
keyple::core::seproxy::message::SeResponse::wasChannelPreviouslyOpen
bool wasChannelPreviouslyOpen() const
Definition: SeResponse.cpp:37
keyple::calypso::transaction::CalypsoPo::getAllFiles
const std::map< uint8_t, std::shared_ptr< ElementaryFile > > & getAllFiles() const
Definition: CalypsoPo.cpp:368
keyple::plugin::stub::StubSecureElement::addHexCommand
virtual void addHexCommand(const std::string &command, const std::string &response)
Definition: StubSecureElement.cpp:45
keyple::plugin::stub::StubPoolPluginImpl::getReaderGroupReferences
std::set< std::string > getReaderGroupReferences() override
Definition: StubPoolPluginImpl.cpp:51
keyple::calypso::command::sam::SamRevision::valueOf
static const SamRevision & valueOf(const std::string &name)
Definition: SamRevision.cpp:77
keyple::plugin::pcsc::PcscReader::SETTING_MODE_EXCLUSIVE
static const std::string SETTING_MODE_EXCLUSIVE
Definition: PcscReader.h:44
keyple::calypso::transaction::CalypsoPoUtils::SEL_DATA_REF_OFFSET
static const int SEL_DATA_REF_OFFSET
Definition: CalypsoPoUtils.h:125
keyple::core::seproxy::event::PluginEvent::EventType
Definition: PluginEvent.h:47
keyple::core::selection::AbstractMatchingSe
Definition: AbstractMatchingSe.h:43
keyple::core::seproxy::plugin::WaitForSeProcessing::onEvent
void onEvent(const InternalEvent event) override
Definition: WaitForSeProcessing.cpp:33
keyple::calypso::command::sam::builder::security::DigestCloseCmdBuild::createResponseParser
std::shared_ptr< DigestCloseRespPars > createResponseParser(const std::shared_ptr< ApduResponse > apduResponse) override
Definition: DigestCloseCmdBuild.cpp:53
keyple::calypso::transaction::CalypsoSam
Definition: CalypsoSam.h:43
keyple::calypso::transaction::PoTransaction::prepareWriteRecord
void prepareWriteRecord(const uint8_t sfi, const uint8_t recordNumber, const std::vector< uint8_t > &recordData)
Definition: PoTransaction.cpp:1129
keyple::calypso::command::po::parser::security::AbstractOpenSessionRespPars::SecureSession::~SecureSession
virtual ~SecureSession()=default
keyple::calypso::transaction::exception::CalypsoSvAuthenticationException::CalypsoSvAuthenticationException
CalypsoSvAuthenticationException(const std::string &message, const std::exception &cause)
Definition: CalypsoSvAuthenticationException.h:44
keyple::core::seproxy::event::ObservableReader::NotificationMode::InnerEnum
InnerEnum
Definition: ObservableReader.h:83
keyple::common::StringHelper::uint16ToHexString
static std::string uint16ToHexString(const uint16_t v)
Definition: stringhelper.h:118
keyple::calypso::transaction::CalypsoPoUtils::SEL_NKEY_LENGTH
static const int SEL_NKEY_LENGTH
Definition: CalypsoPoUtils.h:121
keyple::common::Logger::trace
void trace(const std::string &format, Args... args)
Definition: Logger.h:72
keyple::calypso::command::sam::AbstractSamResponseParser::AbstractSamResponseParser
AbstractSamResponseParser(const std::shared_ptr< ApduResponse > response, AbstractSamCommandBuilder< AbstractSamResponseParser > *builder)
Definition: AbstractSamResponseParser.cpp:57
keyple::calypso::command::sam::exception::CalypsoSamIllegalParameterException::CalypsoSamIllegalParameterException
CalypsoSamIllegalParameterException(const std::string &message, const std::shared_ptr< CalypsoSamCommand > command, const int statusCode)
Definition: CalypsoSamIllegalParameterException.h:39
CountDownLatch::countDown
void countDown(void)
Definition: CountDownLatch.h:46
keyple::common::ConcurrentMap::iterator
std::map< K, V >::iterator iterator
Definition: ConcurrentMap.h:41
keyple::plugin::stub::StubPoolPluginImpl
Definition: StubPoolPluginImpl.h:41
keyple::calypso::transaction::CalypsoPo::getPoClass
const PoClass & getPoClass() const
Definition: CalypsoPo.cpp:324
keyple::core::seproxy::event::ObservablePlugin::removeObserver
virtual void removeObserver(const std::shared_ptr< PluginObserver > observer)=0
keyple::calypso::command::sam::builder::security::CardCipherPinCmdBuild
Definition: CardCipherPinCmdBuild.h:47
keyple::calypso::command::po::builder::storedvalue::SvDebitCmdBuild::isSessionBufferUsed
virtual bool isSessionBufferUsed() const override
Definition: SvDebitCmdBuild.cpp:111
keyple::calypso::command::po::parser::security::VerifyPinRespPars::VerifyPinRespPars
VerifyPinRespPars(std::shared_ptr< ApduResponse > response, VerifyPinCmdBuild *builder)
Definition: VerifyPinRespPars.cpp:88
AbstractMonitoringJob.h
keyple::calypso::command::sam::CalypsoSamCommand::CARD_CIPHER_PIN
static const CalypsoSamCommand CARD_CIPHER_PIN
Definition: CalypsoSamCommand.h:78
keyple
Definition: AbstractPoCommandBuilder.h:33
keyple::core::command::AbstractApduResponseParser::AbstractApduResponseParser
AbstractApduResponseParser(const AbstractApduResponseParser &aarp)=default
keyple::core::seproxy::plugin::AbstractObservableLocalReader::addObserver
void addObserver(const std::shared_ptr< ObservableReader::ReaderObserver > observer) final
Definition: AbstractObservableLocalReader.cpp:244
PcscReaderImpl.h
keyple::calypso::transaction::PoSecuritySettings::isSessionKvcAuthorized
bool isSessionKvcAuthorized(const uint8_t kvc) const
Definition: PoSecuritySettings.cpp:109
keyple::common::ConcurrentMap::erase
size_type erase(const K &k)
Definition: ConcurrentMap.h:112
keyple::calypso::command::po::builder::security::InvalidateCmdBuild::createResponseParser
std::shared_ptr< InvalidateRespPars > createResponseParser(std::shared_ptr< ApduResponse > apduResponse) override
Definition: InvalidateCmdBuild.cpp:39
keyple::calypso::transaction::PoSelector::PoSelectorBuilder::seProtocol
PoSelectorBuilder & seProtocol(const std::shared_ptr< SeProtocol > seProtocol) override
Definition: PoSelector.cpp:59
keyple::core::seproxy::plugin::AbstractSeProxyComponent::setParameters
void setParameters(const std::map< const std::string, const std::string > &parameters)
Definition: AbstractSeProxyComponent.cpp:28
keyple::common::StringHelper::uint8ToHexString
static std::string uint8ToHexString(const uint8_t *v, const int s)
Definition: stringhelper.h:107
keyple::common::Object
Definition: Object.h:21
keyple::calypso::transaction::PoTransaction::SessionSetting
Definition: PoTransaction.h:161
keyple::calypso::command::po::builder::storedvalue::SvUndebitCmdBuild
Definition: SvUndebitCmdBuild.h:47
keyple::core::command::AbstractApduCommandBuilder
Definition: AbstractApduCommandBuilder.h:45
keyple::core::seproxy::plugin::AbstractPlugin::~AbstractPlugin
virtual ~AbstractPlugin()=default
keyple::calypso::transaction::ReadMode
ReadRecordsCmdBuild::ReadMode ReadMode
Definition: PoTransaction.cpp:117
KeyplePluginPcscExport.h
keyple::common::Thread
Definition: Thread.h:25
keyple::core::seproxy::plugin::ObservableReaderStateService::getCurrentState
const std::shared_ptr< AbstractObservableState > getCurrentState() const
Definition: ObservableReaderStateService.cpp:64
keyple::core::selection::SelectionsResult::getMatchingSelections
const std::map< int, std::shared_ptr< AbstractMatchingSe > > & getMatchingSelections() const
Definition: SelectionsResult.cpp:61
keyple::calypso::transaction::PoTransaction::prepareSvReadAllLogs
void prepareSvReadAllLogs()
Definition: PoTransaction.cpp:1344
keyple::calypso::transaction::PoTransaction::prepareCheckPinStatus
void prepareCheckPinStatus()
Definition: PoTransaction.cpp:1198
keyple::core::selection::operator<<
std::ostream & operator<<(std::ostream &os, const AbstractMatchingSe &ams)
Definition: AbstractMatchingSe.cpp:89
keyple::core::seproxy::MultiSeRequestProcessing
MultiSeRequestProcessing
Definition: MultiSeRequestProcessing.h:25
keyple::calypso::command::po::builder::security::OpenSession24CmdBuild::createResponseParser
std::shared_ptr< AbstractOpenSessionRespPars > createResponseParser(std::shared_ptr< ApduResponse > apduResponse) override
Definition: OpenSession24CmdBuild.cpp:75
keyple::core::seproxy::plugin::_set
std::set< std::string > _set
Definition: AbstractThreadedObservablePlugin.cpp:36
keyple::core::seproxy::event::PluginEvent::EventType::operator==
bool operator==(const EventType &o) const
Definition: PluginEvent.cpp:42
keyple::calypso::command::po::AbstractPoResponseParser::AbstractPoResponseParser
AbstractPoResponseParser(const AbstractPoResponseParser &arp)=default
keyple::calypso::transaction::CalypsoPo::getFileByLid
const std::shared_ptr< ElementaryFile > getFileByLid(const uint16_t lid)
Definition: CalypsoPo.cpp:352
keyple::common::Matcher::matches
bool matches()
Definition: Matcher.cpp:45
keyple::calypso::command::po::exception::CalypsoPoIllegalArgumentException
Definition: CalypsoPoIllegalArgumentException.h:31
keyple::core::seproxy::plugin::AbstractPlugin::initNativeReaders
virtual ConcurrentMap< const std::string, std::shared_ptr< SeReader > > & initNativeReaders()=0
keyple::calypso::transaction::CalypsoPo::getStartupInfo
const std::string getStartupInfo() const
Definition: CalypsoPo.cpp:213
keyple::core::seproxy::exception::KeypleReaderIOException
Definition: KeypleReaderIOException.h:39
keyple::calypso::transaction::ElementaryFile::getHeader
const std::shared_ptr< FileHeader > getHeader() const
Definition: ElementaryFile.cpp:38
keyple::calypso::transaction::PoTransaction::SvSettings::LogRead
LogRead
Definition: PoTransaction.h:133
PcscTerminalException.h
keyple::calypso::transaction::SvLoadLogRecord::getSvTNum
int getSvTNum() const
Definition: SvLoadLogRecord.cpp:109
keyple::core::seproxy::plugin::AbstractReader::processSeRequests
virtual std::vector< std::shared_ptr< SeResponse > > processSeRequests(const std::vector< std::shared_ptr< SeRequest >> &seRequests, const MultiSeRequestProcessing &multiSeRequestProcessing, const ChannelControl &channelControl)=0
keyple::plugin::pcsc::PcscReader::SETTING_DISCONNECT_EJECT
static const std::string SETTING_DISCONNECT_EJECT
Definition: PcscReader.h:50
keyple::calypso::transaction::PoSecuritySettings::PoSecuritySettingsBuilder::sessionDefaultKvc
PoSecuritySettingsBuilder & sessionDefaultKvc(const AccessLevel &sessionAccessLevel, const uint8_t kvc)
Definition: PoSecuritySettings.cpp:170
keyple::calypso::transaction::SamSelector::SamSelectorBuilder::build
std::shared_ptr< SeSelector > build() override
Definition: SamSelector.cpp:150
keyple::plugin::stub::StubPoolPluginImpl::getReaderNames
const std::set< std::string > getReaderNames() const override
Definition: StubPoolPluginImpl.cpp:171
DigestCloseCmdBuild.h
keyple::common::exception::RuntimeException
Definition: RuntimeException.h:22
keyple::core::seproxy::SeSelector::AidSelector::FileOccurrence::operator!=
bool operator!=(const FileOccurrence &o) const
Definition: SeSelector.cpp:62
keyple::calypso::transaction::PoTransaction::SvSettings::Action::DO
@ DO
keyple::plugin::stub::StubPoolPluginImpl::setParameter
void setParameter(const std::string &key, const std::string &value) override
Definition: StubPoolPluginImpl.cpp:194
keyple::core::seproxy::exception::KeypleReaderNotFoundException
Definition: KeypleReaderNotFoundException.h:31
Error.h
keyple::calypso::command::po::parser::storedvalue::SvReloadRespPars::SvReloadRespPars
SvReloadRespPars(std::shared_ptr< ApduResponse > response, SvReloadCmdBuild *builder)
Definition: SvReloadRespPars.cpp:82
keyple::core::seproxy::PluginFactory::~PluginFactory
virtual ~PluginFactory()=default
keyple::calypso::command::sam::builder::security::SamGetChallengeCmdBuild::createResponseParser
std::shared_ptr< SamGetChallengeRespPars > createResponseParser(const std::shared_ptr< ApduResponse > apduResponse) override
Definition: SamGetChallengeCmdBuild.cpp:52
keyple::calypso::transaction::SamResourceManagerDefault::mSamReaderPlugin
std::shared_ptr< ReaderPlugin > mSamReaderPlugin
Definition: SamResourceManagerDefault.h:175
CalypsoSamUnknownStatusException.h
keyple::plugin::pcsc::PcscReaderImpl::closePhysicalChannel
void closePhysicalChannel() override
Definition: PcscReaderImpl.cpp:129
keyple::common::ConcurrentMap::const_iterator
std::map< K, V >::const_iterator const_iterator
Definition: ConcurrentMap.h:46
keyple::calypso::transaction::FileHeaderBuilder
FileHeader::FileHeaderBuilder FileHeaderBuilder
Definition: FileHeader.cpp:26
keyple::calypso::command::po::builder::ReadRecordsCmdBuild::createResponseParser
std::shared_ptr< ReadRecordsRespPars > createResponseParser(std::shared_ptr< ApduResponse > apduResponse) override
Definition: ReadRecordsCmdBuild.cpp:67
keyple::core::seproxy::ProxyElement::setParameter
virtual void setParameter(const std::string &key, const std::string &value)=0
keyple::calypso::command::po::parser::security::ChangeKeyRespPars
Definition: ChangeKeyRespPars.h:37
keyple::common::exception::IOException
Definition: IOException.h:22
keyple::calypso::command::sam::builder::security::SvCheckCmdBuild
Definition: SvCheckCmdBuild.h:39
keyple::calypso::command::po::parser::StatusProperties
AbstractApduResponseParser::StatusProperties StatusProperties
Definition: AppendRecordRespPars.cpp:39
keyple::common::exception::AssertionError::AssertionError
AssertionError()
Definition: AssertionError.h:27
keyple::calypso::command::PoClass::operator!=
bool operator!=(const PoClass &o) const
Definition: PoClass.cpp:54
keyple::plugin::stub::StubSecureElement::closePhysicalChannel
virtual void closePhysicalChannel()
Definition: StubSecureElement.cpp:40
keyple::calypso::command::sam::builder::security::DigestAuthenticateCmdBuild::DigestAuthenticateCmdBuild
DigestAuthenticateCmdBuild(const SamRevision &revision, const std::vector< uint8_t > &signature)
Definition: DigestAuthenticateCmdBuild.cpp:37
keyple::calypso::command::sam::parser::security::CardCipherPinRespPars
Definition: CardCipherPinRespPars.h:38
keyple::core::seproxy::plugin::AbstractLocalReader::startsWith
static bool startsWith(const std::vector< uint8_t > &source, const std::vector< uint8_t > &match)
Definition: AbstractLocalReader.cpp:512
keyple::core::seproxy::plugin::AbstractObservableLocalReader::isSePresentPing
bool isSePresentPing()
Definition: AbstractObservableLocalReader.cpp:192
keyple::calypso::command::po::exception::CalypsoPoCommandException
Definition: CalypsoPoCommandException.h:31
keyple::core::util::KeypleAssert::isTrue
const KeypleAssert & isTrue(const bool condition, const std::string &name) const
Definition: KeypleAssert.cpp:61
keyple::common::exception::IOException::IOException
IOException(const std::string &message, const std::exception cause)
Definition: IOException.h:32
keyple::calypso::command::po::builder::security::OpenSession31CmdBuild::OpenSession31CmdBuild
OpenSession31CmdBuild(const uint8_t keyIndex, const std::vector< uint8_t > &samChallenge, const uint8_t sfi, const uint8_t recordNumber)
Definition: OpenSession31CmdBuild.cpp:33
GetDataFciRespPars.h
Tag.h
keyple::common
Definition: Arrays.h:21
keyple::core::selection::AbstractSeSelectionRequest::getSelectionRequest
virtual std::shared_ptr< SeRequest > getSelectionRequest()
Definition: AbstractSeSelectionRequest.h:81
keyple::calypso::command::sam::CalypsoSamCommand::DIGEST_CLOSE
static const CalypsoSamCommand DIGEST_CLOSE
Definition: CalypsoSamCommand.h:58
keyple::core::seproxy::SeReader::setSeProtocolSetting
virtual void setSeProtocolSetting(const std::map< std::shared_ptr< SeProtocol >, std::string > &protocolSetting)=0
keyple::core::seproxy::SeSelector::AidSelector::FileControlInformation::operator!=
bool operator!=(const FileControlInformation &o) const
Definition: SeSelector.cpp:107
keyple::core::seproxy::plugin::AbstractObservableState::~AbstractObservableState
virtual ~AbstractObservableState()=default
keyple::core::seproxy::plugin::AbstractLocalReader::getATR
virtual const std::vector< uint8_t > & getATR()=0
keyple::calypso::transaction::PoTransaction::prepareSvReload
void prepareSvReload(const int amount, const std::vector< uint8_t > &date, const std::vector< uint8_t > &time, const std::vector< uint8_t > &free)
Definition: PoTransaction.cpp:1238
keyple::calypso::transaction::PoTransaction::prepareSvGet
void prepareSvGet(const SvSettings::Operation &svOperation, const SvSettings::Action &svAction)
Definition: PoTransaction.cpp:1209
keyple::calypso::command::sam::builder::security::SelectDiversifierCmdBuild
Definition: SelectDiversifierCmdBuild.h:41
keyple::plugin::stub::SeCommonProtocol
SeCommonProtocols::SeCommonProtocol SeCommonProtocol
Definition: StubProtocolSetting.h:46
keyple::common::exception::Exception::Exception
Exception()
Definition: Exception.h:29
keyple::core::seproxy::ReaderPlugin::getReaderNames
virtual const std::set< std::string > getReaderNames() const =0
keyple::calypso::transaction::SamResourceManagerDefault::mReaderObserver
std::shared_ptr< SamResourceManagerDefault::ReaderObserver > mReaderObserver
Definition: SamResourceManagerDefault.h:131
keyple::plugin::stub::StubPoolPluginImpl::unplugStubPoolReader
void unplugStubPoolReader(const std::string &groupReference) override
Definition: StubPoolPluginImpl.cpp:90
keyple::core::seproxy::protocol::SeProtocol::getName
virtual const std::string & getName() const =0
keyple::calypso::command::po::builder::AppendRecordCmdBuild::getData
const std::vector< uint8_t > & getData() const
Definition: AppendRecordCmdBuild.cpp:73
keyple::core::seproxy::plugin::ObservableReaderNotifier::ObservableReaderNotifier
ObservableReaderNotifier()
Definition: ObservableReaderNotifier.h:37
keyple::core::seproxy::event::ReaderEvent::EventType::TIMEOUT_ERROR
static const EventType TIMEOUT_ERROR
Definition: ReaderEvent.h:53
SmartInsertionMonitoringJob.h
keyple::calypso::transaction::PoTransaction::SvSettings::NegativeBalance::FORBIDDEN
@ FORBIDDEN
keyple::common::exception::NoSuchMethodException::NoSuchMethodException
NoSuchMethodException(const std::string &message, const std::exception cause)
Definition: NoSuchMethodException.h:32
keyple::common::Integer::Integer
Integer(int value)
Definition: Integer.h:55
keyple::core::util::bertlv::Tag::TagClass
TagClass
Definition: Tag.h:54
keyple::core::seproxy::exception::KeyplePluginInstantiationException::KeyplePluginInstantiationException
KeyplePluginInstantiationException(const std::string &msg)
Definition: KeyplePluginInstantiationException.h:35
keyple::common::exception::IOException::IOException
IOException(const std::string &message)
Definition: IOException.h:27
keyple::plugin::stub::StubPoolPluginImpl::getParameters
const std::map< const std::string, const std::string > & getParameters() const override
Definition: StubPoolPluginImpl.cpp:189
keyple::common::exception::InstantiationException::InstantiationException
InstantiationException(const std::string &message, const std::exception cause)
Definition: InstantiationException.h:32
keyple::core::seproxy::plugin::WaitForStartDetect
Definition: WaitForStartDetect.h:40
keyple::calypso::command::po::parser::security::CloseSessionRespPars
Definition: CloseSessionRespPars.h:41
keyple::calypso::command::po::builder::security::InvalidateCmdBuild::InvalidateCmdBuild
InvalidateCmdBuild(const PoClass &poClass)
Definition: InvalidateCmdBuild.cpp:28
keyple::calypso::command::po::builder::security
Definition: AbstractOpenSessionCmdBuild.h:34
keyple::calypso::transaction::SvDebitLogRecord::SvDebitLogRecord
SvDebitLogRecord(const std::vector< uint8_t > &poResponse, const int offset)
Definition: SvDebitLogRecord.cpp:30
keyple::calypso::transaction::SamResourceManagerDefault::PluginObserver::mPattern
std::unique_ptr< Pattern > mPattern
Definition: SamResourceManagerDefault.h:100
keyple::calypso::command::po::builder::GetDataFciCmdBuild::GetDataFciCmdBuild
GetDataFciCmdBuild(PoClass poClass)
Definition: GetDataFciCmdBuild.cpp:32
keyple::plugin::pcsc::SeCommonProtocol
SeCommonProtocols::SeCommonProtocol SeCommonProtocol
Definition: PcscProtocolSetting.h:44
keyple::core::seproxy::AbstractPluginFactory::getPluginName
virtual const std::string & getPluginName() const =0
keyple::core::command::AbstractIso7816CommandBuilder::~AbstractIso7816CommandBuilder
virtual ~AbstractIso7816CommandBuilder()=default
keyple::core::seproxy::plugin::AbstractSeProxyComponent::~AbstractSeProxyComponent
virtual ~AbstractSeProxyComponent()=default
PoRevision.h
keyple::calypso::command::po::parser::storedvalue::SvUndebitRespPars::getSignatureLo
const std::vector< uint8_t > getSignatureLo() const
Definition: SvUndebitRespPars.cpp:100
keyple::calypso::command::po::parser::storedvalue::SvGetRespPars::getSvGetCommandHeader
const std::vector< uint8_t > & getSvGetCommandHeader() const
Definition: SvGetRespPars.cpp:125
CalypsoPoIllegalArgumentException.h
CalypsoSamDataAccessException.h
keyple::calypso::command::sam::exception
Definition: CalypsoSamAccessForbiddenException.h:23
keyple::calypso::command::sam::CalypsoSamCommand::READ_KEY_PARAMETERS
static const CalypsoSamCommand READ_KEY_PARAMETERS
Definition: CalypsoSamCommand.h:93
keyple::calypso::KeyReference::KeyReference
KeyReference(const uint8_t kif, const uint8_t kvc)
Definition: KeyReference.cpp:19
keyple::calypso::command::po::builder::GetDataTraceCmdBuild::createResponseParser
std::shared_ptr< GetDataTraceRespPars > createResponseParser(std::shared_ptr< ApduResponse > apduResponse) override
Definition: GetDataTraceCmdBuild.cpp:37
keyple::calypso::transaction::PoTransaction::SvSettings::Operation
Operation
Definition: PoTransaction.h:103
keyple::plugin::pcsc::PcscTerminal
Definition: PcscTerminal.h:37
keyple::calypso::transaction::DirectoryHeader::getKvc
uint8_t getKvc(const AccessLevel &level) const
Definition: DirectoryHeader.cpp:122
keyple::core::seproxy::plugin::AbstractObservableLocalReader::processSeInserted
virtual std::shared_ptr< ReaderEvent > processSeInserted()
Definition: AbstractObservableLocalReader.cpp:92
keyple::core::command::AbstractIso7816CommandBuilder
Definition: AbstractIso7816CommandBuilder.h:46
CalypsoSamIllegalArgumentException.h
keyple::calypso::command::operator<<
std::ostream & operator<<(std::ostream &os, const PoClass &pc)
Definition: PoClass.cpp:69
keyple::common::StringBuilder::append
StringBuilder * append(const std::string &toAppend)
Definition: stringbuilder.h:41
keyple::core::seproxy::plugin::AbstractReader::getName
const std::string & getName() const override
Definition: AbstractReader.h:111
keyple::calypso::transaction::SamResourceManagerDefault::freeSamResource
void freeSamResource(const SeResource< CalypsoSam > &samResource) override
Definition: SamResourceManagerDefault.cpp:192
keyple::core::seproxy::protocol::SeCommonProtocols::PROTOCOL_JIS_6319_4
static const std::shared_ptr< SeCommonProtocol > PROTOCOL_JIS_6319_4
Definition: SeCommonProtocols.h:93
keyple::calypso::transaction::SeSelectorBuilder
SeSelector::SeSelectorBuilder SeSelectorBuilder
Definition: PoSelector.cpp:29
keyple::common::ConcurrentMap::insert
std::pair< iterator, bool > insert(const std::pair< const K, V > &val)
Definition: ConcurrentMap.h:74
KEYPLECALYPSO_API
#define KEYPLECALYPSO_API
Definition: KeypleCalypsoExport.h:24
keyple::core::seproxy::plugin::CardAbsentPingMonitoringJob::stop
void stop() override
Definition: CardAbsentPingMonitoringJob.cpp:83
ReadRecordsRespPars.h
keyple::plugin::stub::StubPluginImpl
Definition: StubPluginImpl.h:44
keyple::calypso::command::po::parser::SelectFileRespPars
Definition: SelectFileRespPars.h:54
keyple::plugin::stub::StubPoolPluginImpl::releaseReader
void releaseReader(std::shared_ptr< SeReader > seReader) override
Definition: StubPoolPluginImpl.cpp:138
keyple::calypso::transaction::DirectoryHeader::DirectoryHeaderBuilder
Definition: DirectoryHeader.h:41
keyple::core::seproxy::event::ObservableReader::NotificationMode::NotificationMode
NotificationMode(const std::string &nameValue, InnerEnum innerEnum, const std::string &name)
Definition: ObservableReader.cpp:37
keyple::calypso::transaction::SamResourceManager
Definition: SamResourceManager.h:38
keyple::calypso::transaction::PoTransaction::processOpening
void processOpening(const SessionSetting::AccessLevel &accessLevel)
Definition: PoTransaction.cpp:562
keyple::calypso::transaction::CalypsoPo::isDeselectRatificationSupported
bool isDeselectRatificationSupported() const
Definition: CalypsoPo.cpp:264
SvLoadLogRecord.h
keyple::core::seproxy::message::SeResponse::operator==
bool operator==(const SeResponse &o) const
Definition: SeResponse.cpp:96
keyple::core::util::bertlv::Tag::TagClass::PRIVATE
@ PRIVATE
keyple::calypso::transaction::PoTransaction::SvSettings::NegativeBalance
NegativeBalance
Definition: PoTransaction.h:148
keyple::core::seproxy::ReaderPlugin::getReader
virtual const std::shared_ptr< SeReader > getReader(const std::string &name)=0
keyple::common::StringBuilder::toString
std::string toString()
Definition: stringbuilder.h:66
keyple::calypso::command::po::parser::SelectFileRespPars::SelectFileRespPars
SelectFileRespPars(std::shared_ptr< ApduResponse > response, SelectFileCmdBuild *builder)
Definition: SelectFileRespPars.cpp:71
keyple::core::command::AbstractApduResponseParser::StatusProperties
Definition: AbstractApduResponseParser.h:44
keyple::core::seproxy::event::ObservablePlugin::PluginObserver
Definition: ObservablePlugin.h:41
keyple::core::util::bertlv::TLV::TLV
TLV(const std::vector< uint8_t > &binary)
Definition: TLV.cpp:32
keyple::calypso::command::sam::exception::CalypsoSamIllegalArgumentException::CalypsoSamIllegalArgumentException
CalypsoSamIllegalArgumentException(const std::string &message, const std::shared_ptr< CalypsoSamCommand > command)
Definition: CalypsoSamIllegalArgumentException.h:38
keyple::core::seproxy::plugin::ObservableReaderStateService::switchState
void switchState(const MonitoringState stateId)
Definition: ObservableReaderStateService.cpp:36
keyple::calypso::transaction::PoSecuritySettings::PoSecuritySettingsBuilder::svGetLogReadMode
PoSecuritySettingsBuilder & svGetLogReadMode(const LogRead svGetLogReadMode)
Definition: PoSecuritySettings.cpp:200
keyple::core::seproxy::exception::KeypleRuntimeException::KeypleRuntimeException
KeypleRuntimeException(const std::string &message)
Definition: KeypleRuntimeException.h:39
keyple::plugin::stub::StubSecureElement::processApdu
virtual std::vector< uint8_t > processApdu(const std::vector< uint8_t > &apduIn)
Definition: StubSecureElement.cpp:66
keyple::core::seproxy::event::PluginEvent::EventType::READER_DISCONNECTED
static const EventType READER_DISCONNECTED
Definition: PluginEvent.h:57
keyple::calypso::transaction::SvLoadLogRecord::getBalance
int getBalance() const
Definition: SvLoadLogRecord.cpp:38
keyple::calypso::command::sam::exception::CalypsoSamIncorrectInputDataException
Definition: CalypsoSamIncorrectInputDataException.h:32
keyple::core::seproxy::message::ProxyReader
Definition: ProxyReader.h:46
keyple::calypso::command::sam::parser::security::DigestCloseRespPars::getStatusTable
const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const override
Definition: DigestCloseRespPars.cpp:61
keyple::common::Byte::hashCode
int hashCode() override
Definition: Byte.h:139
keyple::core::seproxy::plugin::AbstractLocalReader::processSeRequest
virtual std::shared_ptr< SeResponse > processSeRequest(const std::shared_ptr< SeRequest > seRequest, const ChannelControl &channelControl) override
Definition: AbstractLocalReader.cpp:327
keyple::core::selection::SeResource< CalypsoSam >
keyple::core::seproxy::plugin::InternalEvent::SE_INSERTED
@ SE_INSERTED
keyple::core::util::bertlv::TLV::parse
bool parse(std::shared_ptr< Tag > tag, int offset)
Definition: TLV.cpp:39
keyple::calypso::command::po::builder::IncreaseCmdBuild::getIncValue
int getIncValue() const
Definition: IncreaseCmdBuild.cpp:95
keyple::core::seproxy::SeSelector::AidSelector::AidSelectorBuilder::AidSelector
friend AidSelector
Definition: SeSelector.h:195
keyple::core::util::bertlv::Tag::TagType
TagType
Definition: Tag.h:46
keyple::core::command::AbstractApduResponseParser::checkStatus
virtual void checkStatus() const
Definition: AbstractApduResponseParser.cpp:93
keyple::core::seproxy::event::ReaderEvent::EventType::operator==
bool operator==(const EventType &other) const
keyple::calypso::command::po::exception::CalypsoPoPinException::CalypsoPoPinException
CalypsoPoPinException(const std::string &message, const std::shared_ptr< CalypsoPoCommand > command, const int statusCode)
Definition: CalypsoPoPinException.h:37
keyple::calypso::command::sam::builder
Definition: CardCipherPinCmdBuild.cpp:29
SeReader.h
CalypsoPoCommandException.h
keyple::core::seproxy::SeSelector::AtrFilter::AtrFilter
AtrFilter(const std::string &atrRegex)
Definition: SeSelector.cpp:180
keyple::common::StringBuilder::StringBuilder
StringBuilder(std::size_t capacity)
Definition: stringbuilder.h:31
keyple::calypso::transaction::CalypsoPo::isModificationsCounterInBytes
bool isModificationsCounterInBytes() const
Definition: CalypsoPo.cpp:239
keyple::calypso::command::po::parser::security::SecureSession
AbstractOpenSessionRespPars::SecureSession SecureSession
Definition: AbstractOpenSessionRespPars.cpp:56
keyple::core::selection::SelectionsResult::addMatchingSe
void addMatchingSe(int selectionIndex, const std::shared_ptr< AbstractMatchingSe > matchingSe, bool isSelected)
Definition: SelectionsResult.cpp:31
keyple::calypso::command::sam::AbstractSamResponseParser::AbstractSamResponseParser
AbstractSamResponseParser(const AbstractSamResponseParser &asrp)=default
keyple::calypso::command::sam::builder::security::SamReadEventCounterCmdBuild
Definition: SamReadEventCounterCmdBuild.h:41
keyple::calypso::command::po::builder::storedvalue
Definition: SvDebitCmdBuild.cpp:28
keyple::core::seproxy::SeSelector::AidSelector::addSuccessfulStatusCode
void addSuccessfulStatusCode(int statusCode)
Definition: SeSelector.cpp:157
keyple::calypso::transaction::CalypsoPoUtils::EF_TYPE_CYCLIC
static const int EF_TYPE_CYCLIC
Definition: CalypsoPoUtils.h:106
keyple::calypso::command::po::exception::CalypsoPoSecurityContextException
Definition: CalypsoPoSecurityContextException.h:31
keyple::calypso::command::po::parser::security::PoGetChallengeRespPars
Definition: PoGetChallengeRespPars.h:41
keyple::calypso::command::po::builder::DecreaseCmdBuild::createResponseParser
std::shared_ptr< DecreaseRespPars > createResponseParser(std::shared_ptr< ApduResponse > apduResponse) override
Definition: DecreaseCmdBuild.cpp:73
keyple::core::seproxy::plugin::AbstractObservableState::mMonitoringJob
std::shared_ptr< AbstractMonitoringJob > mMonitoringJob
Definition: AbstractObservableState.h:84
DigestAuthenticateCmdBuild.h
keyple::plugin::pcsc::PcscTerminal::PcscTerminal
PcscTerminal(const std::string &name)
Definition: PcscTerminal.cpp:43
keyple::common::StringHelper::split
static std::vector< std::string > split(const std::string &source, char delimiter)
Definition: stringhelper.h:74
keyple::calypso::command::po::builder::storedvalue::SvDebitCmdBuild::createResponseParser
std::shared_ptr< SvDebitRespPars > createResponseParser(std::shared_ptr< ApduResponse > apduResponse) override
Definition: SvDebitCmdBuild.cpp:105
PoSecuritySettings.h
keyple::calypso::command::sam::builder::security::SamReadKeyParametersCmdBuild::FIRST
@ FIRST
Definition: SamReadKeyParametersCmdBuild.h:54
CountDownLatch::m_count
unsigned int m_count
Definition: CountDownLatch.h:65
keyple::calypso::transaction::CalypsoPo::getSessionModification
uint8_t getSessionModification() const
Definition: CalypsoPo.cpp:304
KeypleAssert.h
keyple::common::Logger::Level
Level
Definition: Logger.h:44
keyple::calypso::transaction::SamResourceManager::ManagedSamResource::setSamIdentifier
void setSamIdentifier(std::shared_ptr< SamIdentifier > samIdentifier)
Definition: SamResourceManager.cpp:82
keyple::calypso::command::sam::SamRevision
Definition: SamRevision.h:33
keyple::calypso::command::po::builder::security::RatificationCmdBuild
Definition: RatificationCmdBuild.h:39
keyple::calypso::command::po::builder::security::OpenSession24CmdBuild::isSessionBufferUsed
virtual bool isSessionBufferUsed() const override
Definition: OpenSession24CmdBuild.cpp:81
CalypsoSam.h
keyple::plugin::stub::StubPluginImpl::initNativeReaders
ConcurrentMap< const std::string, std::shared_ptr< SeReader > > & initNativeReaders() override
Definition: StubPluginImpl.cpp:171
keyple::calypso::command::sam::builder::security::CardCipherPinCmdBuild::createResponseParser
std::shared_ptr< CardCipherPinRespPars > createResponseParser(std::shared_ptr< ApduResponse > apduResponse) override
Definition: CardCipherPinCmdBuild.cpp:79
keyple::calypso::transaction::FileData::getContent
const std::vector< uint8_t > & getContent() const
Definition: FileData.cpp:45
StubPlugin.h
keyple::core::seproxy::plugin::AbstractObservableState::mCancellationFlag
std::atomic< bool > mCancellationFlag
Definition: AbstractObservableState.h:111
keyple::core::seproxy::SeProxyService::getVersion
std::string getVersion()
Definition: SeProxyService.cpp:94
KEYPLECOMMON_API
#define KEYPLECOMMON_API
Definition: KeypleCommonExport.h:24
keyple::core::seproxy::message::DefaultSelectionsResponse
Definition: DefaultSelectionsResponse.h:37
keyple::plugin::pcsc::PcscPluginImpl::setParameter
void setParameter(const std::string &key, const std::string &value) override
Definition: PcscPluginImpl.cpp:57
DecreaseRespPars.h
keyple::calypso::command::po::exception::CalypsoPoDataOutOfBoundsException
Definition: CalypsoPoDataOutOfBoundsException.h:33
System.h
keyple::calypso::command::sam::CalypsoSamCommand::UNLOCK
static const CalypsoSamCommand UNLOCK
Definition: CalypsoSamCommand.h:83
keyple::calypso::command::po::builder::WriteRecordCmdBuild::getData
std::vector< uint8_t > & getData()
Definition: WriteRecordCmdBuild.cpp:80
keyple::core::seproxy::protocol::operator<<
std::ostream & operator<<(std::ostream &os, const std::shared_ptr< SeProtocol > &se)
Definition: SeProtocol.cpp:22
std::operator<<
std::ostream & operator<<(std::ostream &os, const uint8_t v)
Definition: KeypleStd.h:34
keyple::common::ConcurrentMap::clear
void clear() noexcept
Definition: ConcurrentMap.h:146
keyple::calypso::command::sam::parser::security::SelectDiversifierRespPars::getStatusTable
const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const override
Definition: SelectDiversifierRespPars.cpp:64
keyple::calypso::transaction::PoSelector::PoSelectorBuilder
Definition: PoSelector.h:52
keyple::calypso::command::po::builder::storedvalue::SvReloadCmdBuild::isSessionBufferUsed
bool isSessionBufferUsed() const override
Definition: SvReloadCmdBuild.cpp:114
keyple::calypso::transaction::SvDebitLogRecord::getSamIdBytes
const std::vector< uint8_t > getSamIdBytes() const
Definition: SvDebitLogRecord.cpp:80
keyple::calypso::command::sam::AbstractSamCommandBuilder::createResponseParser
virtual std::shared_ptr< T > createResponseParser(const std::shared_ptr< ApduResponse > apduResponse)=0
AbstractOpenSessionCmdBuild.h
keyple::plugin::stub::StubPoolPluginImpl::getReaders
ConcurrentMap< const std::string, std::shared_ptr< SeReader > > & getReaders() override
Definition: StubPoolPluginImpl.cpp:177
KeyplePluginException.h
keyple::calypso::command::sam::builder::security::CardGenerateKeyCmdBuild
Definition: CardGenerateKeyCmdBuild.h:47
keyple::core::command::AbstractApduResponseParser::StatusProperties::StatusProperties
StatusProperties(const std::string &information)
Definition: AbstractApduResponseParser.cpp:143
keyple::core::seproxy::plugin::AbstractReader::getPluginName
const std::string & getPluginName() const
Definition: AbstractReader.cpp:54
keyple::calypso::command::po::parser::security::ChangeKeyRespPars::~ChangeKeyRespPars
virtual ~ChangeKeyRespPars()=default
keyple::core::seproxy::event::ObservableReader::~ObservableReader
virtual ~ObservableReader()=default
keyple::calypso::transaction::PoSecuritySettings::PoSecuritySettingsBuilder::mRatificationMode
RatificationMode mRatificationMode
Definition: PoSecuritySettings.h:80
keyple::core::seproxy::exception::KeypleRuntimeException
Definition: KeypleRuntimeException.h:34
keyple::core::seproxy::plugin::AbstractReader::transmitSeRequests
std::vector< std::shared_ptr< SeResponse > > transmitSeRequests(const std::vector< std::shared_ptr< SeRequest >> &seRequests, const MultiSeRequestProcessing &multiSeRequestProcessing, const ChannelControl &channelControl) override
Definition: AbstractReader.cpp:59
keyple::core::seproxy::plugin::ObservableReaderNotifier
Definition: ObservableReaderNotifier.h:32
keyple::calypso::transaction::CalypsoPoUtils::FILE_TYPE_EF
static const int FILE_TYPE_EF
Definition: CalypsoPoUtils.h:98
keyple::core::seproxy::plugin::SmartInsertionMonitoringJob::stop
void stop() override
Definition: SmartInsertionMonitoringJob.cpp:78
keyple::calypso::transaction::PoSecuritySettings::getSvNegativeBalance
NegativeBalance getSvNegativeBalance() const
Definition: PoSecuritySettings.cpp:126
keyple::core::seproxy::message::ApduRequest::getBytes
const std::vector< uint8_t > & getBytes() const
Definition: ApduRequest.cpp:79
keyple::core::seproxy::protocol::SeCommonProtocols::PROTOCOL_MIFARE_UL
static const std::shared_ptr< SeCommonProtocol > PROTOCOL_MIFARE_UL
Definition: SeCommonProtocols.h:97
keyple::core::command::SeCommand::getInstructionByte
virtual uint8_t getInstructionByte() const =0
keyple::calypso::transaction::CalypsoPo::getDfName
const std::string getDfName() const
Definition: CalypsoPo.cpp:189
keyple::calypso::command::po::parser::storedvalue::SvUndebitRespPars::toString
const std::string toString() const
Definition: SvUndebitRespPars.cpp:105
IllegalStateException.h
Properties.h
keyple::calypso::command::po::builder::security::OpenSession10CmdBuild::isSessionBufferUsed
virtual bool isSessionBufferUsed() const override
Definition: OpenSession10CmdBuild.cpp:80
keyple::common::StringHelper::startsWith
static bool startsWith(const std::string &source, const std::string &value)
Definition: stringhelper.h:56
keyple::calypso::transaction::CalypsoPoUtils::SEL_TYPE_OFFSET
static const int SEL_TYPE_OFFSET
Definition: CalypsoPoUtils.h:114
keyple::calypso::transaction::PoSelector::PoSelectorBuilder::PoSelectorBuilder
PoSelectorBuilder()
Definition: PoSelector.cpp:47
KEYPLEPLUGINSTUB_API
#define KEYPLEPLUGINSTUB_API
Definition: KeyplePluginStubExport.h:24
ApduResponse.h
WriteRecordCmdBuild.h
keyple::calypso::command::po::builder::security::ChangeKeyCmdBuild::ChangeKeyCmdBuild
ChangeKeyCmdBuild(const PoClass poClass, const uint8_t keyIndex, const std::vector< uint8_t > &cryptogram)
Definition: ChangeKeyCmdBuild.cpp:39
keyple::calypso::transaction::exception::CalypsoPoIOException::CalypsoPoIOException
CalypsoPoIOException(const std::string &message, const std::exception &cause)
Definition: CalypsoPoIOException.h:40
SamResourceManagerDefault.h
keyple::core::command::AbstractApduResponseParser
Definition: AbstractApduResponseParser.h:39
keyple::core::seproxy::SeSelector::AidSelector::FileControlInformation::getIsoBitMask
uint8_t getIsoBitMask() const
Definition: SeSelector.cpp:96
keyple::calypso::transaction::PoTransaction::prepareIncreaseCounter
void prepareIncreaseCounter(const uint8_t sfi, const uint8_t counterNumber, const int incValue)
Definition: PoTransaction.cpp:1150
keyple::calypso::command::sam::CalypsoSamCommand::SV_PREPARE_UNDEBIT
static const CalypsoSamCommand SV_PREPARE_UNDEBIT
Definition: CalypsoSamCommand.h:123
keyple::core::seproxy::plugin::AbstractSeProxyComponent::AbstractSeProxyComponent
AbstractSeProxyComponent(const std::string &name)
Definition: AbstractSeProxyComponent.cpp:21
keyple::calypso::command::po::builder::GetDataTraceCmdBuild
Definition: GetDataTraceCmdBuild.h:44
keyple::calypso::transaction::SamIdentifier
Definition: SamIdentifier.h:37
keyple::common::exception::IndexOutOfBoundsException::IndexOutOfBoundsException
IndexOutOfBoundsException(const std::string &message, const std::exception cause)
Definition: IndexOutOfBoundsException.h:32
keyple::calypso
Definition: AbstractPoCommandBuilder.h:34
keyple::calypso::command::po::exception::CalypsoPoDataAccessException::CalypsoPoDataAccessException
CalypsoPoDataAccessException(const std::string &message, const std::shared_ptr< CalypsoPoCommand > command, const int statusCode)
Definition: CalypsoPoDataAccessException.h:38
keyple::calypso::command::sam::builder::security::SamWriteKeyCmdBuild::createResponseParser
std::shared_ptr< SamWriteKeyRespPars > createResponseParser(std::shared_ptr< ApduResponse > apduResponse) override
Definition: SamWriteKeyCmdBuild.cpp:54
keyple::calypso::transaction::PoSecuritySettings::PoSecuritySettingsBuilder::sessionDefaultKeyRecordNumber
PoSecuritySettingsBuilder & sessionDefaultKeyRecordNumber(const AccessLevel &sessionAccessLevel, const uint8_t keyRecordNumber)
Definition: PoSecuritySettings.cpp:178
keyple::calypso::transaction::SvLoadLogRecord::getSamId
uint32_t getSamId() const
Definition: SvLoadLogRecord.cpp:96
keyple::calypso::command::po::parser::WriteRecordRespPars::getStatusTable
const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const override
Definition: WriteRecordRespPars.cpp:90
keyple::core::command::AbstractIso7816CommandBuilder::AbstractIso7816CommandBuilder
AbstractIso7816CommandBuilder(const std::shared_ptr< SeCommand > commandReference, const std::shared_ptr< ApduRequest > request)
Definition: AbstractIso7816CommandBuilder.cpp:32
keyple::calypso::command::sam::builder::security::SamReadEventCounterCmdBuild::MAX_COUNTER_REC_NUMB
static const int MAX_COUNTER_REC_NUMB
Definition: SamReadEventCounterCmdBuild.h:51
keyple::calypso::command::po::parser::storedvalue::StatusProperties
AbstractApduResponseParser::StatusProperties StatusProperties
Definition: SvDebitRespPars.h:35
keyple::calypso::transaction::SamResourceManager::createSamResource
virtual std::shared_ptr< ManagedSamResource > createSamResource(std::shared_ptr< SeReader > samReader)
Definition: SamResourceManager.cpp:38
keyple::core::seproxy::message::SelectionStatus::SelectionStatus
SelectionStatus(std::shared_ptr< AnswerToReset > atr, std::shared_ptr< ApduResponse > fci, const bool hasMatched)
Definition: SelectionStatus.cpp:23
keyple::calypso::command::sam::parser::security::SamGetChallengeRespPars::getStatusTable
const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const override
Definition: SamGetChallengeRespPars.cpp:58
keyple::core::seproxy::plugin::AbstractThreadedObservablePlugin::mThreadWaitTimeout
long long mThreadWaitTimeout
Definition: AbstractThreadedObservablePlugin.h:87
keyple::calypso::transaction::exception::CalypsoPoRevokedException::CalypsoPoRevokedException
CalypsoPoRevokedException(const std::string &message)
Definition: CalypsoPoRevokedException.h:33
keyple::plugin::pcsc::PcscPluginImpl::getInstance
static std::shared_ptr< PcscPluginImpl > getInstance()
Definition: PcscPluginImpl.cpp:38
keyple::core::seproxy::SeReader::addSeProtocolSetting
virtual void addSeProtocolSetting(std::shared_ptr< SeProtocol > seProtocol, const std::string &protocolRule)=0
keyple::calypso::command::sam::CalypsoSamCommand::SV_CHECK
static const CalypsoSamCommand SV_CHECK
Definition: CalypsoSamCommand.h:108
SelectDiversifierCmdBuild.h
AbstractObservablePlugin.h
keyple::calypso::command::sam::builder::security::DigestAuthenticateCmdBuild::createResponseParser
std::shared_ptr< DigestAuthenticateRespPars > createResponseParser(std::shared_ptr< ApduResponse > apduResponse) override
Definition: DigestAuthenticateCmdBuild.cpp:60
keyple::calypso::command::sam::SamRevision::NO_REV
static const SamRevision NO_REV
Definition: SamRevision.h:53
TransmissionMode.h
keyple::core::selection
Definition: AbstractMatchingSe.cpp:29
StubPluginFactory.h
keyple::common::Thread::~Thread
virtual ~Thread()
Definition: Thread.h:54
keyple::core::seproxy::plugin::AbstractPlugin::AbstractPlugin
AbstractPlugin(const std::string &name)
Definition: AbstractPlugin.cpp:37
keyple::common::Byte::operator==
bool operator==(const Byte &other)
Definition: Byte.h:203
keyple::plugin::pcsc::PcscTerminal::openAndConnect
void openAndConnect(const std::string &protocol)
Definition: PcscTerminal.cpp:168
keyple::common::BerDecoder::parseOctetString
std::vector< char > parseOctetString(int tag, std::vector< int > rlen)
Definition: BerDecoder.h:130
keyple::core::seproxy::plugin::AbstractLocalReader
Definition: AbstractLocalReader.h:54
keyple::core::seproxy::plugin::SmartInsertionReader::~SmartInsertionReader
virtual ~SmartInsertionReader()
Definition: SmartInsertionReader.h:31
ReaderEvent.h
keyple::core::seproxy::plugin::AbstractObservableState::mReader
AbstractObservableLocalReader * mReader
Definition: AbstractObservableState.h:96
keyple::calypso::command::po::builder::UpdateRecordCmdBuild::getData
const std::vector< uint8_t > & getData() const
Definition: UpdateRecordCmdBuild.cpp:82
keyple::core::seproxy::plugin::CardAbsentPingMonitoringJob::monitoringJob
void monitoringJob(AbstractObservableState *state, std::atomic< bool > &cancellationFlag)
Definition: CardAbsentPingMonitoringJob.cpp:33
keyple::calypso::command::po::builder::WriteRecordCmdBuild::createResponseParser
std::shared_ptr< WriteRecordRespPars > createResponseParser(std::shared_ptr< ApduResponse > apduResponse) override
Definition: WriteRecordCmdBuild.cpp:59
keyple::calypso::command::sam::CalypsoSamCommand::SELECT_DIVERSIFIER
static const CalypsoSamCommand SELECT_DIVERSIFIER
Definition: CalypsoSamCommand.h:33
keyple::core::seproxy::SeProxyService::registerPlugin
std::shared_ptr< ReaderPlugin > registerPlugin(std::shared_ptr< PluginFactory > pluginFactory)
Definition: SeProxyService.cpp:34
keyple::calypso::command::po::parser::security::CloseSessionRespPars::getSignatureLo
const std::vector< uint8_t > & getSignatureLo() const
Definition: CloseSessionRespPars.cpp:101
keyple::core::selection::SelectionsResult::SelectionsResult
SelectionsResult()
Definition: SelectionsResult.cpp:29
SvReloadCmdBuild.h
keyple::core::util::bertlv::Tag::operator!=
bool operator!=(const Tag &o) const
Definition: Tag.cpp:96
AbstractLocalReader.h
keyple::core::seproxy::event::ObservableReader::NotificationMode::getName
virtual std::string getName()
Definition: ObservableReader.cpp:50
keyple::core::seproxy::event::AbstractDefaultSelectionsRequest::~AbstractDefaultSelectionsRequest
virtual ~AbstractDefaultSelectionsRequest()
Definition: AbstractDefaultSelectionsRequest.h:52
keyple::calypso::command::po::builder::storedvalue::SvReloadCmdBuild
Definition: SvReloadCmdBuild.h:45
keyple::calypso::transaction::SvLoadLogRecord::getLoadDate
int getLoadDate() const
Definition: SvLoadLogRecord.cpp:57
keyple::core::seproxy::event
Definition: AbstractDefaultSelectionsRequest.cpp:19
keyple::core::seproxy::protocol::SeCommonProtocols::PROTOCOL_HSP
static const std::shared_ptr< SeCommonProtocol > PROTOCOL_HSP
Definition: SeCommonProtocols.h:109
keyple::calypso::transaction::SamIdentifier::builder
static std::unique_ptr< SamIdentifierBuilder > builder()
Definition: SamIdentifier.cpp:35
keyple::calypso::transaction::CalypsoPo::getApplicationSerialNumber
const std::string getApplicationSerialNumber() const
Definition: CalypsoPo.cpp:208
keyple::calypso::transaction::SvLoadLogRecord::getSamTNum
int getSamTNum() const
Definition: SvLoadLogRecord.cpp:123
keyple::calypso::command::po::CalypsoPoCommand::READ_RECORDS
static const CalypsoPoCommand READ_RECORDS
Definition: CalypsoPoCommand.h:55
keyple::core::seproxy::event::ObservableReader::PollingMode::REPEATING
@ REPEATING
keyple::calypso::command::sam::parser::security::SvPrepareOperationRespPars::SvPrepareOperationRespPars
SvPrepareOperationRespPars(const std::shared_ptr< ApduResponse > response, AbstractSamCommandBuilder< AbstractSamResponseParser > *builder)
Definition: SvPrepareOperationRespPars.cpp:71
keyple::common::ConcurrentMap::value_type
std::pair< const K, V > value_type
Definition: ConcurrentMap.h:36
keyple::core::util::bertlv::Tag::TagType::CONSTRUCTED
@ CONSTRUCTED
keyple::common::Matcher::replaceAll
std::string replaceAll(const std::string &replacement) const
Definition: Matcher.cpp:50
keyple::common::StringBuilder::insert
StringBuilder * insert(std::size_t position, const T &toInsert)
Definition: stringbuilder.h:60
keyple::calypso::command::po::builder::storedvalue::SvGetCmdBuild::getSvOperation
Operation getSvOperation() const
Definition: SvGetCmdBuild.cpp:57
IndexOutOfBoundsException.h
keyple::core::seproxy::protocol::SeCommonProtocols::PROTOCOL_ISO15693
static const std::shared_ptr< SeCommonProtocol > PROTOCOL_ISO15693
Definition: SeCommonProtocols.h:88
keyple::core::util::bertlv::Tag::getTagClass
TagClass getTagClass() const
Definition: Tag.cpp:71
keyple::core::seproxy::SeSelector::AidSelector
Definition: SeSelector.h:60
AbstractApduResponseParser.h
keyple::core::seproxy::protocol::SeCommonProtocols::PROTOCOL_NDEF
static const std::shared_ptr< SeCommonProtocol > PROTOCOL_NDEF
Definition: SeCommonProtocols.h:94
keyple::core::seproxy::plugin::AbstractObservableLocalReader::terminateSeCommunication
void terminateSeCommunication() override
Definition: AbstractObservableLocalReader.cpp:84
keyple::calypso::command::po::builder::storedvalue::Operation
PoTransaction::SvSettings::Operation Operation
Definition: SvGetCmdBuild.h:39
keyple::plugin::stub::StubSecureElement::isPhysicalChannelOpen
virtual bool isPhysicalChannelOpen()
Definition: StubSecureElement.cpp:30
keyple::core::seproxy::plugin::AbstractLocalReader::transmitApdu
virtual std::vector< uint8_t > transmitApdu(const std::vector< uint8_t > &apduIn)=0
keyple::core::selection::SelectionsResult::getMatchingSe
const std::shared_ptr< AbstractMatchingSe > getMatchingSe(int selectionIndex)
Definition: SelectionsResult.cpp:66
keyple::calypso::transaction::CalypsoPo::restoreFiles
void restoreFiles()
Definition: CalypsoPo.cpp:425
keyple::core::seproxy::exception::KeyplePluginException::KeyplePluginException
KeyplePluginException(const std::string &msg)
Definition: KeyplePluginException.h:32
keyple::common::ConcurrentMap::end
iterator end() noexcept
Definition: ConcurrentMap.h:181
keyple::calypso::command::PoClass::getValue
virtual uint8_t getValue() const
Definition: PoClass.cpp:43
keyple::core::seproxy::plugin::AbstractLocalReader::openLogicalChannel
virtual std::shared_ptr< SelectionStatus > openLogicalChannel(std::shared_ptr< SeSelector > seSelector)
Definition: AbstractLocalReader.cpp:81
keyple::calypso::transaction::SamCommandProcessor::getSessionTerminalChallenge
const std::vector< uint8_t > getSessionTerminalChallenge()
Definition: SamCommandProcessor.cpp:88
keyple::core::seproxy::SeSelector::AidSelector::FileControlInformation::FMD
static const FileControlInformation FMD
Definition: SeSelector.h:136
SamReadEventCounterCmdBuild.h
keyple::core::seproxy::ReaderPoolPlugin
Definition: ReaderPoolPlugin.h:45
keyple::calypso::transaction::PoTransaction::SvSettings::Action
Action
Definition: PoTransaction.h:124
keyple::common::exception::IllegalStateException
Definition: IllegalStateException.h:22
keyple::common::exception::NumberFormatException::NumberFormatException
NumberFormatException()
Definition: NumberFormatException.h:27
keyple::calypso::command::sam::CalypsoSamCommand::GIVE_RANDOM
static const CalypsoSamCommand GIVE_RANDOM
Definition: CalypsoSamCommand.h:68
keyple::core::seproxy::plugin::AbstractLocalReader::AbstractLocalReader
AbstractLocalReader(const std::string &pluginName, const std::string &readerName)
Definition: AbstractLocalReader.cpp:60
keyple::core::seproxy::plugin::ObservableReaderStateService::~ObservableReaderStateService
~ObservableReaderStateService()=default
keyple::common::exception::RuntimeException::RuntimeException
RuntimeException(const std::string &message, const std::exception cause)
Definition: RuntimeException.h:32
CountDownLatch
Definition: CountDownLatch.h:20
keyple::calypso::transaction::PoSecuritySettings::mDefaultRatificationMode
static const RatificationMode mDefaultRatificationMode
Definition: PoSecuritySettings.h:54
keyple::common::exception::RuntimeException::RuntimeException
RuntimeException(const std::string &message)
Definition: RuntimeException.h:27
PcscPluginImpl.h
keyple::common::exception::NoSuchElementException
Definition: NoSuchElementException.h:22
keyple::common::exception::FileNotFoundException::FileNotFoundException
FileNotFoundException(const std::string &message)
Definition: FileNotFoundException.h:27
keyple::calypso::command::po::exception::CalypsoPoCommandException::CalypsoPoCommandException
CalypsoPoCommandException(const std::string &message, const std::shared_ptr< CalypsoPoCommand > command, const int statusCode)
Definition: CalypsoPoCommandException.h:38
keyple::calypso::command::sam::parser::security::SvCheckRespPars::getStatusTable
const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const override
Definition: SvCheckRespPars.cpp:69
keyple::calypso::command::po::parser::UpdateRecordRespPars::getStatusTable
const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const override
Definition: UpdateRecordRespPars.cpp:91
keyple::calypso::transaction::CalypsoPo::setCounter
void setCounter(const uint8_t sfi, const int numCounter, const std::vector< uint8_t > &content)
Definition: CalypsoPo.cpp:388
keyple::common::Properties::load
void load(std::ifstream &inStream)
Definition: Properties.cpp:29
SamWriteKeyCmdBuild.h
keyple::core::seproxy::exception::KeypleAllocationNoReaderException::KeypleAllocationNoReaderException
KeypleAllocationNoReaderException(const std::string &message, const std::exception &cause)
Definition: KeypleAllocationNoReaderException.h:33
keyple::core::seproxy::message::SelectionStatus::getAtr
virtual std::shared_ptr< AnswerToReset > getAtr() const
Definition: SelectionStatus.cpp:34
keyple::core::seproxy::event::ObservableReader::PollingMode::SINGLESHOT
@ SINGLESHOT
keyple::plugin::pcsc::PcscReaderImpl::openPhysicalChannel
void openPhysicalChannel() override
Definition: PcscReaderImpl.cpp:429
keyple::core::seproxy::event::AbstractDefaultSelectionsResponse::~AbstractDefaultSelectionsResponse
virtual ~AbstractDefaultSelectionsResponse()
Definition: AbstractDefaultSelectionsResponse.h:43
keyple::common::Thread::sleep
static void sleep(long millis)
Definition: Thread.h:176
SamRevision.h
keyple::calypso::transaction::PoTransaction::SvSettings::Operation::RELOAD
@ RELOAD
SvReloadRespPars.h
keyple::plugin::stub::StubPluginImpl::plugStubReader
void plugStubReader(const std::string &readerName, bool synchronous) override
Definition: StubPluginImpl.cpp:51
keyple::core::seproxy::plugin::MonitoringState
MonitoringState
Definition: AbstractObservableState.h:37
KeypleSeCommandUnknownStatusException.h
keyple::core::seproxy::plugin::AbstractLocalReader::processApduRequest
std::shared_ptr< ApduResponse > processApduRequest(std::shared_ptr< ApduRequest > apduRequest)
Definition: AbstractLocalReader.cpp:526
keyple::common::Matcher::match
bool match(const int from, const int anchor) const
Definition: Matcher.cpp:34
keyple::plugin::pcsc::PcscProtocolSetting
Definition: PcscProtocolSetting.h:57
keyple::common::Thread::join
int join()
Definition: Thread.h:106
keyple::calypso::transaction::SvDebitLogRecord
Definition: SvDebitLogRecord.h:32
keyple::calypso::command::sam::AbstractSamResponseParser::checkStatus
void checkStatus() const override
Definition: AbstractSamResponseParser.cpp:132
keyple::calypso::transaction::PoTransaction::SvSettings
Definition: PoTransaction.h:97
keyple::core::seproxy::SeSelector::getSeProtocol
virtual const std::shared_ptr< SeProtocol > getSeProtocol() const
Definition: SeSelector.cpp:312
keyple::calypso::command::po::builder::security::VerifyPinCmdBuild::isSessionBufferUsed
virtual bool isSessionBufferUsed() const override
Definition: VerifyPinCmdBuild.cpp:74
keyple::calypso::transaction::CalypsoPoUtils::CNT_VALUE_MAX
static const int CNT_VALUE_MAX
Definition: CalypsoPoUtils.h:86
SamResourceManagerPool.h
keyple::calypso::command::po::parser::security::OpenSession10RespPars::OpenSession10RespPars
OpenSession10RespPars(std::shared_ptr< ApduResponse > response, OpenSession10CmdBuild *builder)
Definition: OpenSession10RespPars.cpp:38
keyple::calypso::transaction::SamIdentifier::SamIdentifierBuilder::serialNumber
SamIdentifierBuilder & serialNumber(const std::string &serialNumber)
Definition: SamIdentifier.cpp:89
keyple::calypso::command::sam::builder::security::SamReadKeyParametersCmdBuild::SamReadKeyParametersCmdBuild
SamReadKeyParametersCmdBuild(const SamRevision &revision)
Definition: SamReadKeyParametersCmdBuild.cpp:34
keyple::core::seproxy::ReaderPoolPlugin::releaseReader
virtual void releaseReader(std::shared_ptr< SeReader > seReader)=0
OpenSession32CmdBuild.h
keyple::core::seproxy::plugin::ObservablePluginNotifier::~ObservablePluginNotifier
virtual ~ObservablePluginNotifier()=default
keyple::calypso::transaction::PoSecuritySettings::getSessionDefaultKvc
uint8_t getSessionDefaultKvc(const AccessLevel &sessionAccessLevel) const
Definition: PoSecuritySettings.cpp:87
keyple::calypso::command::sam::builder::security::SamReadCeilingsCmdBuild::MAX_CEILING_NUMB
static const int MAX_CEILING_NUMB
Definition: SamReadCeilingsCmdBuild.h:46
keyple::core::seproxy::plugin::AbstractObservableLocalReader::processSeRemoved
void processSeRemoved()
Definition: AbstractObservableLocalReader.cpp:211
keyple::common::Thread::detach
int detach()
Definition: Thread.h:124
keyple::common::Pattern::compile
std::unique_ptr< Pattern > compile(const std::string &regularExpression, const int flags) const
Definition: Pattern.cpp:21
keyple::core::seproxy::event::ReaderEvent::EventType::SE_MATCHED
static const EventType SE_MATCHED
Definition: ReaderEvent.h:63
keyple::calypso::transaction::SamSelectorBuilder
SamSelector::SamSelectorBuilder SamSelectorBuilder
Definition: SamSelector.cpp:35
keyple::common::Byte::byteValue
unsigned char byteValue()
Definition: Byte.h:188
keyple::calypso::command::sam::parser::security::DigestUpdateRespPars
Definition: DigestUpdateRespPars.h:43
keyple::calypso::command::po::parser::security::AbstractOpenSessionRespPars::SecureSession::getOriginalData
virtual const std::vector< uint8_t > & getOriginalData() const
Definition: AbstractOpenSessionRespPars.cpp:309
keyple::calypso::transaction::CalypsoPo::isConfidentialSessionModeSupported
bool isConfidentialSessionModeSupported() const
Definition: CalypsoPo.cpp:259
keyple::common::System::currentTimeMillis
static unsigned long long currentTimeMillis()
Definition: System.h:71
keyple::calypso::command::po::exception::CalypsoPoSessionBufferOverflowException
Definition: CalypsoPoSessionBufferOverflowException.h:31
AbstractSeSelectionRequest.h
keyple::calypso::command::sam::AbstractSamResponseParser
Definition: AbstractSamResponseParser.h:35
keyple::plugin::stub::operator<<
std::ostream & operator<<(std::ostream &os, const StubSecureElement &s)
Definition: StubSecureElement.cpp:87
keyple::core::seproxy::protocol::TransmissionMode
TransmissionMode
Definition: TransmissionMode.h:28
keyple::calypso::command::po::parser::storedvalue::SvGetRespPars::getCurrentKVC
uint8_t getCurrentKVC() const
Definition: SvGetRespPars.cpp:130
keyple::calypso::command::po::exception::CalypsoPoTerminatedException::CalypsoPoTerminatedException
CalypsoPoTerminatedException(const std::string &message, const std::shared_ptr< CalypsoPoCommand > command, const int statusCode)
Definition: CalypsoPoTerminatedException.h:38
keyple::plugin::stub::StubReader::insertSe
virtual void insertSe(std::shared_ptr< StubSecureElement > _se)=0
DefaultSelectionsRequest.h
keyple::common::StringHelper::endsWith
static bool endsWith(const std::string &source, const std::string &value)
Definition: stringhelper.h:64
keyple::calypso::transaction::SamResourceManager::AllocationMode
AllocationMode
Definition: SamResourceManager.h:43
keyple::core::seproxy::protocol::SeProtocol
Definition: SeProtocol.h:31
keyple::core::seproxy::SeSelector
Definition: SeSelector.h:46
keyple::calypso::command::po::parser::storedvalue::SvGetRespPars::getPreviousSignatureLo
const std::vector< uint8_t > & getPreviousSignatureLo() const
Definition: SvGetRespPars.cpp:140
keyple::plugin::pcsc::PcscPluginImpl::setParameters
virtual void setParameters(const std::map< const std::string, const std::string > &parameters) final
Definition: PcscPluginImpl.h:84
keyple::calypso::command::po::parser::security::OpenSession32RespPars::OpenSession32RespPars
OpenSession32RespPars(std::shared_ptr< ApduResponse > response, OpenSession32CmdBuild *builder)
Definition: OpenSession32RespPars.cpp:30
keyple::calypso::KeyReference::getKif
virtual uint8_t getKif() const
Definition: KeyReference.cpp:21
keyple::calypso::command::sam::parser::security::SamReadKeyParametersRespPars::getKeyParameters
const std::vector< uint8_t > getKeyParameters() const
Definition: SamReadKeyParametersRespPars.cpp:88
keyple::calypso::command::po::CalypsoPoCommand::getName
const std::string & getName() const
Definition: CalypsoPoCommand.cpp:58
CalypsoPoAccessForbiddenException.h
CalypsoSamCommand.h
keyple::calypso::command::sam::CalypsoSamCommand::READ_CEILINGS
static const CalypsoSamCommand READ_CEILINGS
Definition: CalypsoSamCommand.h:103
keyple::calypso::command::sam::exception::CalypsoSamIllegalParameterException
Definition: CalypsoSamIllegalParameterException.h:32
keyple::core::seproxy::plugin::AbstractLocalReader::addSeProtocolSetting
void addSeProtocolSetting(std::shared_ptr< SeProtocol > seProtocol, const std::string &protocolRule) override
Definition: AbstractLocalReader.cpp:193
keyple::core::seproxy::plugin::SmartInsertionReader::stopWaitForCard
virtual void stopWaitForCard()
Definition: SmartInsertionReader.h:53
keyple::core::seproxy::SeSelector::getAidSelector
virtual std::shared_ptr< AidSelector > getAidSelector() const
Definition: SeSelector.cpp:322
keyple::plugin::pcsc::PcscPluginImpl::fetchNativeReader
std::shared_ptr< SeReader > fetchNativeReader(const std::string &name) override
Definition: PcscPluginImpl.cpp:143
keyple::common::Matcher::reset
Matcher * reset()
Definition: Matcher.cpp:119
keyple::calypso::transaction::SvLoadLogRecord::getAmount
int getAmount() const
Definition: SvLoadLogRecord.cpp:33
ProxyElement.h
keyple::calypso::command::po::PoRevision::NO_REV
@ NO_REV
keyple::calypso::command::po::parser::security::PoGetChallengeRespPars::PoGetChallengeRespPars
PoGetChallengeRespPars(std::shared_ptr< ApduResponse > response, PoGetChallengeCmdBuild *builder)
Definition: PoGetChallengeRespPars.cpp:28
keyple::calypso::transaction::SamIdentifier::getGroupReference
const std::string & getGroupReference() const
Definition: SamIdentifier.cpp:50
keyple::calypso::command::po::parser::security::CloseSessionRespPars::getStatusTable
const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const override
Definition: CloseSessionRespPars.cpp:71
keyple::common::exception::Exception::operator<<
friend std::ostream & operator<<(std::ostream &os, const Exception &e)
Definition: Exception.h:61
FileHeader.h
keyple::common::Thread::isInterrupted
bool isInterrupted() const
Definition: Thread.h:218
keyple::core::seproxy::protocol::SeCommonProtocols::PROTOCOL_MIFARE_DESFIRE
static const std::shared_ptr< SeCommonProtocol > PROTOCOL_MIFARE_DESFIRE
Definition: SeCommonProtocols.h:99
PoSelectionRequest.h
keyple::core::command::AbstractApduCommandBuilder::getCommandRef
virtual const std::shared_ptr< SeCommand > getCommandRef() const
Definition: AbstractApduCommandBuilder.cpp:54
keyple::core::seproxy::protocol::SeCommonProtocols::PROTOCOL_NDEF_FORMATABLE
static const std::shared_ptr< SeCommonProtocol > PROTOCOL_NDEF_FORMATABLE
Definition: SeCommonProtocols.h:95
keyple::calypso::transaction::SamSelectionRequest::parse
const std::shared_ptr< AbstractMatchingSe > parse(std::shared_ptr< SeResponse > seResponse) override
Definition: SamSelectionRequest.cpp:53
keyple::calypso::transaction::PoSecuritySettings::getSamResource
const std::shared_ptr< SeResource< CalypsoSam > > getSamResource() const
Definition: PoSecuritySettings.cpp:56
keyple::calypso::command::po::parser::security
Definition: ChangeKeyCmdBuild.h:25
keyple::plugin::stub::StubPoolPluginFactory::getPlugin
std::shared_ptr< ReaderPlugin > getPlugin() const override
Definition: StubPoolPluginFactory.cpp:40
keyple::core::seproxy::protocol::SeCommonProtocol
SeCommonProtocols::SeCommonProtocol SeCommonProtocol
Definition: SeCommonProtocols.cpp:23
keyple::common::Logger::getClassName
std::string getClassName()
Definition: Logger.cpp:26
keyple::plugin::stub::StubPoolPlugin::plugStubPoolReader
virtual std::shared_ptr< SeReader > plugStubPoolReader(const std::string &groupReference, const std::string &readerName, std::shared_ptr< StubSecureElement > se)=0
keyple::calypso::transaction::CalypsoPo::setSvData
void setSvData(const int svBalance, const int svLastTNum, const std::shared_ptr< SvLoadLogRecord > svLoadLogRecord, const std::shared_ptr< SvDebitLogRecord > svDebitLogRecord)
Definition: CalypsoPo.cpp:478
ApduRequest.h
UpdateRecordCmdBuild.h
keyple::core::seproxy::plugin::AbstractMonitoringJob::isRunning
bool isRunning() const
Definition: AbstractMonitoringJob.h:73
keyple::calypso::command::po::CalypsoPoCommand::WRITE_RECORD
static const CalypsoPoCommand WRITE_RECORD
Definition: CalypsoPoCommand.h:61
keyple::core::selection::AbstractSeSelectionRequest< AbstractPoCommandBuilder< AbstractPoResponseParser > >::mSeSelector
const std::shared_ptr< SeSelector > mSeSelector
Definition: AbstractSeSelectionRequest.h:62
keyple::calypso::transaction::PoSecuritySettings::PoSecuritySettings
PoSecuritySettings(PoSecuritySettingsBuilder *builder)
Definition: PoSecuritySettings.cpp:42
keyple::calypso::transaction::FileHeader::FileType::BINARY
@ BINARY
keyple::calypso::command::po::parser::storedvalue::SvGetRespPars::SvGetRespPars
SvGetRespPars(const std::vector< uint8_t > &svCommandHeader, std::shared_ptr< ApduResponse > response, SvGetCmdBuild *builder)
Definition: SvGetRespPars.cpp:78
keyple::core::seproxy::plugin::CardAbsentPingMonitoringJob::startMonitoring
std::future< void > startMonitoring(AbstractObservableState *state, std::atomic< bool > &cancellationFlag) override
Definition: CardAbsentPingMonitoringJob.cpp:90
keyple::common::Byte::Byte
Byte()
Definition: Byte.h:62
keyple::calypso::transaction::PoTransaction::SessionSetting::AccessLevel::SESSION_LVL_DEBIT
static const AccessLevel SESSION_LVL_DEBIT
Definition: PoTransaction.h:204
CalypsoPoUtils.h
keyple::calypso::transaction::SvDebitLogRecord::getAmount
int getAmount() const
Definition: SvDebitLogRecord.cpp:33
keyple::core::seproxy::plugin::AbstractReader::processSeRequest
virtual std::shared_ptr< SeResponse > processSeRequest(const std::shared_ptr< SeRequest > seRequest, const ChannelControl &channelControl)=0
SmartRemovalReader.h
keyple::calypso::transaction::DirectoryHeader::getLid
uint16_t getLid() const
Definition: DirectoryHeader.cpp:90
keyple::core::selection::AbstractSeSelectionRequest< AbstractPoCommandBuilder< AbstractPoResponseParser > >::addCommandBuilder
void addCommandBuilder(std::shared_ptr< AbstractPoCommandBuilder< AbstractPoResponseParser > > commandBuilder)
Definition: AbstractSeSelectionRequest.h:142
keyple::calypso::transaction::CalypsoPoUtils::NB_CNT_MAX
static const int NB_CNT_MAX
Definition: CalypsoPoUtils.h:80
KeypleException.h
keyple::plugin::pcsc::PcscProtocolSetting::getSpecificSettings
static const std::map< std::shared_ptr< SeCommonProtocol >, std::string > getSpecificSettings(const std::set< std::shared_ptr< SeCommonProtocol >> &specificProtocols)
Definition: PcscProtocolSetting.cpp:45
keyple::calypso::transaction::exception::CalypsoSamRevokedException
Definition: CalypsoSamRevokedException.h:28
keyple::calypso::command::po::parser::WriteRecordRespPars
Definition: WriteRecordRespPars.h:43
keyple::calypso::command::po::builder::WriteRecordCmdBuild::getRecordNumber
int getRecordNumber() const
Definition: WriteRecordCmdBuild.cpp:75
keyple::core::seproxy::SeSelector::AidSelector::getFileControlInformation
FileControlInformation getFileControlInformation() const
Definition: SeSelector.cpp:146
keyple::calypso::command::po::CalypsoPoCommand::operator!=
bool operator!=(const CalypsoPoCommand &other) const
Definition: CalypsoPoCommand.cpp:91
keyple::common::BerDecoder::BerDecoder
BerDecoder(std::vector< char > buf, int offset, int bufsize)
Definition: BerDecoder.h:48
keyple::core::seproxy::plugin::AbstractSeProxyComponent::setParameter
virtual void setParameter(const std::string &key, const std::string &value)=0
keyple::core::seproxy::plugin::AbstractLocalReader::~AbstractLocalReader
virtual ~AbstractLocalReader()=default
keyple::calypso::command::PoClass::valueOf
static const PoClass & valueOf(const std::string &name)
Definition: PoClass.cpp:59
keyple::common::exception::FileNotFoundException
Definition: FileNotFoundException.h:22
keyple::calypso::transaction::PoSecuritySettings::getSessionDefaultKeyRecordNumber
uint8_t getSessionDefaultKeyRecordNumber(const AccessLevel &sessionAccessLevel) const
Definition: PoSecuritySettings.cpp:98
keyple::core::seproxy::exception::KeypleAllocationNoReaderException::KeypleAllocationNoReaderException
KeypleAllocationNoReaderException(const std::string &message)
Definition: KeypleAllocationNoReaderException.h:30
keyple::calypso::transaction::SamResourceManagerDefault
Definition: SamResourceManagerDefault.h:44
keyple::calypso::command::po::parser::ReadRecordsRespPars::ReadRecordsRespPars
ReadRecordsRespPars(std::shared_ptr< ApduResponse > apduResponse, ReadRecordsCmdBuild *builder)
Definition: ReadRecordsRespPars.cpp:95
keyple::calypso::command::po::builder::ReadRecordsCmdBuild
Definition: ReadRecordsCmdBuild.h:46
keyple::calypso::transaction::CalypsoPoUtils::STORED_VALUE_FILE_STRUCTURE_ID
static const uint8_t STORED_VALUE_FILE_STRUCTURE_ID
Definition: CalypsoPoUtils.h:130
keyple::common::Matcher::Matcher
Matcher(const Pattern *parent, const std::string &text)
Definition: Matcher.cpp:27
keyple::common::ConcurrentMap::insert
void insert(InputIterator first, InputIterator last)
Definition: ConcurrentMap.h:103
keyple::calypso::command::sam::AbstractSamResponseParser::~AbstractSamResponseParser
virtual ~AbstractSamResponseParser()=default
keyple::core::selection::SelectionsResult::hasSelectionMatched
bool hasSelectionMatched(int selectionIndex) const
Definition: SelectionsResult.cpp:83
keyple::calypso::transaction::PoTransaction::prepareReleasePoChannel
void prepareReleasePoChannel()
Definition: PoTransaction.cpp:983
RuntimeException.h
keyple::core::seproxy::event::ObservablePlugin
Definition: ObservablePlugin.h:36
keyple::calypso::transaction::SamResourceManager::ManagedSamResource::ManagedSamResource
ManagedSamResource(std::shared_ptr< SeReader > seReader, std::shared_ptr< CalypsoSam > calypsoSam)
Definition: SamResourceManager.cpp:71
keyple::calypso::command::sam::exception::CalypsoSamIllegalArgumentException
Definition: CalypsoSamIllegalArgumentException.h:32
keyple::plugin::stub::StubPoolPlugin::unplugStubPoolReader
virtual void unplugStubPoolReader(const std::string &groupReference)=0
keyple::core::seproxy::plugin::AbstractObservablePlugin::~AbstractObservablePlugin
virtual ~AbstractObservablePlugin()=default
CalypsoSessionAuthenticationException.h
keyple::calypso::command::po::builder::security::VerifyPinCmdBuild::isReadCounterOnly
bool isReadCounterOnly() const
Definition: VerifyPinCmdBuild.cpp:79
keyple::plugin::stub::StubSecureElement::openPhysicalChannel
virtual void openPhysicalChannel()
Definition: StubSecureElement.cpp:35
keyple::common::StringHelper::trim
static std::string trim(const std::string &source, const std::string &trimChars=" \t\n\r\v\f")
Definition: stringhelper.h:40
keyple::plugin::stub::StubReaderImpl::getSe
std::shared_ptr< StubSecureElement > getSe() override
Definition: StubReaderImpl.cpp:218
keyple::core::seproxy::plugin::AbstractObservablePlugin::notifyObservers
virtual void notifyObservers(const std::shared_ptr< PluginEvent > event) final
Definition: AbstractObservablePlugin.cpp:62
keyple::common::ConcurrentMap::begin
iterator begin() noexcept
Definition: ConcurrentMap.h:164
PoGetChallengeRespPars.h
keyple::calypso::command::po::parser::security::OpenSession32RespPars
Definition: OpenSession32RespPars.h:37
keyple::core::seproxy::plugin::AbstractMonitoringJob::~AbstractMonitoringJob
virtual ~AbstractMonitoringJob()
Definition: AbstractMonitoringJob.h:52
keyple::core::command::AbstractApduCommandBuilder::getName
virtual const std::string & getName() const
Definition: AbstractApduCommandBuilder.cpp:59
keyple::calypso::command::po::parser::DecreaseRespPars::getNewValue
int getNewValue()
Definition: DecreaseRespPars.cpp:116
keyple::calypso::transaction::PoCommandManager::isSvOperationCompleteOneTime
bool isSvOperationCompleteOneTime()
Definition: PoCommandManager.cpp:94
CountDownLatch::m_cv
std::condition_variable m_cv
Definition: CountDownLatch.h:64
keyple::calypso::transaction::SvDebitLogRecord::getDebitTime
int getDebitTime() const
Definition: SvDebitLogRecord.cpp:42
keyple::calypso::transaction::SvLoadLogRecord
Definition: SvLoadLogRecord.h:31
keyple::calypso::command::PoClass::PoClass
PoClass(const std::string &name, const uint8_t cla)
Definition: PoClass.cpp:32
keyple::core::seproxy::event::ReaderEvent::ReaderEvent
ReaderEvent(const std::string &pluginName, const std::string &readerName, const EventType &eventType, std::shared_ptr< AbstractDefaultSelectionsResponse > defaultSelectionsResponse)
Definition: ReaderEvent.cpp:84
keyple::core::selection::SeResource::~SeResource
virtual ~SeResource()
Definition: SeResource.h:54
keyple::core::seproxy::plugin::ObservableReaderNotifier::mShuttingDown
std::atomic< bool > mShuttingDown
Definition: ObservableReaderNotifier.h:58
keyple::calypso::command::po::CalypsoPoCommand::VERIFY_PIN
static const CalypsoPoCommand VERIFY_PIN
Definition: CalypsoPoCommand.h:82
keyple::core::command::AbstractApduResponseParser::StatusProperties::getExceptionClass
const std::type_info & getExceptionClass() const
Definition: AbstractApduResponseParser.cpp:160
StubPluginImpl.h
keyple::calypso::command::po::exception::CalypsoPoIllegalArgumentException::CalypsoPoIllegalArgumentException
CalypsoPoIllegalArgumentException(const std::string &message, const std::shared_ptr< SeCommand > command)
Definition: CalypsoPoIllegalArgumentException.h:37
keyple::common::Byte::valueOf
static Byte * valueOf(unsigned char b)
Definition: Byte.h:113
keyple::core::seproxy::message::ApduRequest::getName
const std::string & getName() const
Definition: ApduRequest.cpp:74
keyple::common::Matcher::search
bool search(const int from)
Definition: Matcher.cpp:104
CalypsoPoPinException.h
keyple::calypso::command::sam::builder::security::DigestCloseCmdBuild::DigestCloseCmdBuild
DigestCloseCmdBuild(const SamRevision &revision, const uint8_t expectedResponseLength)
Definition: DigestCloseCmdBuild.cpp:33
keyple::calypso::command::sam::builder::security::SamReadKeyParametersCmdBuild::NEXT
@ NEXT
Definition: SamReadKeyParametersCmdBuild.h:54
keyple::calypso::command::sam::builder::security::SamReadKeyParametersCmdBuild::SYSTEM_KEY
@ SYSTEM_KEY
Definition: SamReadKeyParametersCmdBuild.h:49
keyple::calypso::transaction::CalypsoPoUtils::NB_REC_MIN
static const int NB_REC_MIN
Definition: CalypsoPoUtils.h:73
SvDebitCmdBuild.h
keyple::calypso::transaction::PoSelector::InvalidatedPo
InvalidatedPo
Definition: PoSelector.h:42
keyple::core::command::SeCommand
Definition: SeCommand.h:23
keyple::common::Boolean::toString
static std::string toString(bool b)
Definition: Boolean.h:81
keyple::calypso::transaction::CalypsoPo::isDfRatified
bool isDfRatified() const
Definition: CalypsoPo.cpp:314
keyple::core::seproxy::plugin::AbstractReader
Definition: AbstractReader.h:50
keyple::core::command::AbstractApduCommandBuilder::AbstractApduCommandBuilder
AbstractApduCommandBuilder(const std::shared_ptr< SeCommand > commandRef, const std::shared_ptr< ApduRequest > request)
Definition: AbstractApduCommandBuilder.cpp:26
keyple::core::seproxy::SeSelector::AidSelector::FileControlInformation::operator==
bool operator==(const FileControlInformation &o) const
Definition: SeSelector.cpp:101
CardGenerateKeyRespPars.h
keyple::core::seproxy::SeSelector::~SeSelector
virtual ~SeSelector()
Definition: SeSelector.h:503
InvalidateRespPars.h
keyple::core::seproxy::plugin::AbstractThreadedObservablePlugin::~AbstractThreadedObservablePlugin
virtual ~AbstractThreadedObservablePlugin()
Definition: AbstractThreadedObservablePlugin.cpp:46
keyple::common::Properties
Definition: Properties.h:25
keyple::calypso::transaction::CalypsoPo::getDfNameBytes
const std::vector< uint8_t > & getDfNameBytes() const
Definition: CalypsoPo.cpp:184
keyple::calypso::command::sam::parser
Definition: CardCipherPinCmdBuild.h:29
keyple::calypso::command::PoClass::~PoClass
virtual ~PoClass()=default
keyple::core::seproxy::message::operator<<
std::ostream & operator<<(std::ostream &os, const AnswerToReset &atr)
Definition: AnswerToReset.cpp:46
keyple::core::seproxy::plugin::AbstractMonitoringJob::AbstractMonitoringJob
AbstractMonitoringJob()
Definition: AbstractMonitoringJob.h:47
keyple::calypso::command::po::exception::CalypsoPoUnknownStatusException::CalypsoPoUnknownStatusException
CalypsoPoUnknownStatusException(const std::string &message, const std::shared_ptr< CalypsoPoCommand > command, const int statusCode)
Definition: CalypsoPoUnknownStatusException.h:37
keyple::core::util::KeypleAssert
Definition: KeypleAssert.h:30
keyple::core::seproxy::plugin::AbstractPlugin::getReaders
virtual ConcurrentMap< const std::string, std::shared_ptr< SeReader > > & getReaders() override
Definition: AbstractPlugin.cpp:48
keyple::calypso::command::po::builder::security::AbstractOpenSessionCmdBuild::getSfi
virtual uint8_t getSfi() const =0
keyple::core::seproxy::plugin::AbstractLocalReader::openLogicalChannelAndSelect
std::shared_ptr< SelectionStatus > openLogicalChannelAndSelect(std::shared_ptr< SeSelector > seSelector)
Definition: AbstractLocalReader.cpp:153
keyple::calypso::transaction::SvDebitLogRecord::getSamTNumBytes
const std::vector< uint8_t > getSamTNumBytes() const
Definition: SvDebitLogRecord.cpp:106
keyple::calypso::transaction::exception::CalypsoPoTransactionIllegalStateException
Definition: CalypsoPoTransactionIllegalStateException.h:29
keyple::calypso::transaction::PluginObserver
SamResourceManagerDefault::PluginObserver PluginObserver
Definition: SamResourceManagerDefault.cpp:46
keyple::core::seproxy::event::ObservableReader
Definition: ObservableReader.h:42
SvDebitRespPars.h
keyple::calypso::command::po::builder::SelectFileCmdBuild::SelectFileCmdBuild
SelectFileCmdBuild(const PoClass &poClass, SelectFileControl selectFileControl)
Definition: SelectFileCmdBuild.cpp:41
keyple::core::seproxy::SeSelector::AidSelector::FileControlInformation::operator=
FileControlInformation & operator=(const FileControlInformation &o)
Definition: SeSelector.cpp:113
keyple::core::seproxy::exception::KeyplePluginException
Definition: KeyplePluginException.h:27
keyple::calypso::transaction::PoTransaction::operator<<
friend std::ostream & operator<<(std::ostream &os, const SessionState &ss)
Definition: PoTransaction.cpp:1441
keyple::calypso::command::sam::builder::security::SvCheckCmdBuild::SvCheckCmdBuild
SvCheckCmdBuild(const SamRevision &revision, const std::vector< uint8_t > &svPoSignature)
Definition: SvCheckCmdBuild.cpp:35
keyple::common::BerDecoder
Definition: BerDecoder.h:22
keyple::calypso::transaction::CalypsoPoUtils::MASK_7_BITS
static const int MASK_7_BITS
Definition: CalypsoPoUtils.h:59
keyple::core::util::ByteArrayUtil::twoBytesToInt
static int twoBytesToInt(const std::vector< uint8_t > &bytes, const int offset)
Definition: ByteArrayUtil.cpp:94
keyple::core::seproxy::plugin::AbstractThreadedObservablePlugin::AbstractThreadedObservablePlugin
AbstractThreadedObservablePlugin(const std::string &name)
Definition: AbstractThreadedObservablePlugin.cpp:40
keyple::calypso::command::po::CalypsoPoCommand::INVALIDATE
static const CalypsoPoCommand INVALIDATE
Definition: CalypsoPoCommand.h:100
keyple::calypso::command::sam::builder::security::SvCheckCmdBuild::createResponseParser
std::shared_ptr< SvCheckRespPars > createResponseParser(const std::shared_ptr< ApduResponse > apduResponse) override
Definition: SvCheckCmdBuild.cpp:61
keyple::calypso::transaction::PoSelectionRequest::parse
const std::shared_ptr< AbstractMatchingSe > parse(std::shared_ptr< SeResponse > seResponse) override
Definition: PoSelectionRequest.cpp:100
keyple::plugin::pcsc::PcscPluginFactory::getPluginName
const std::string & getPluginName() const override
Definition: PcscPluginFactory.cpp:33
keyple::core::seproxy::plugin::ExecutorService::operator=
ExecutorService & operator=(ExecutorService o)=delete
keyple::calypso::command::po::parser::security::AbstractOpenSessionRespPars::getSelectedKif
virtual uint8_t getSelectedKif() const
Definition: AbstractOpenSessionRespPars.cpp:211
keyple::core::selection::AbstractMatchingSe::AbstractMatchingSe
AbstractMatchingSe(const std::shared_ptr< SeResponse > selectionResponse, const TransmissionMode &transmissionMode)
Definition: AbstractMatchingSe.cpp:36
keyple::common::exception::Exception::getCause
const std::exception & getCause() const
Definition: Exception.h:53
keyple::plugin::stub::StubPluginImpl::unplugStubReaders
void unplugStubReaders(const std::set< std::string > &readerNames, const bool synchronous) override
Definition: StubPluginImpl.cpp:134
keyple::common::Thread::start
void start()
Definition: Thread.h:73
keyple::calypso::command::sam::parser::security::CardCipherPinRespPars::getStatusTable
const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const override
Definition: CardCipherPinRespPars.cpp:81
SvUndebitRespPars.h
keyple::plugin::pcsc::PcscReaderImpl::stopWaitForCardRemoval
void stopWaitForCardRemoval() override
Definition: PcscReaderImpl.cpp:226
keyple::core::seproxy::plugin::ObservableReaderStateService::ObservableReaderStateService
ObservableReaderStateService(AbstractObservableLocalReader *reader, std::map< MonitoringState, std::shared_ptr< AbstractObservableState >> states, const MonitoringState initState)
Definition: ObservableReaderStateService.cpp:21
keyple::calypso::transaction::SamCommandProcessor::SamCommandProcessor
SamCommandProcessor(const std::shared_ptr< SeResource< CalypsoPo >> poResource, const std::shared_ptr< PoSecuritySettings > poSecuritySettings)
Definition: SamCommandProcessor.cpp:72
keyple::plugin::pcsc::PcscReader::SETTING_PROTOCOL_T0
static const std::string SETTING_PROTOCOL_T0
Definition: PcscReader.h:39
keyple::common::ConcurrentMap::begin
const_iterator begin() const noexcept
Definition: ConcurrentMap.h:173
keyple::calypso::command::po::parser::security::StatusProperties
AbstractApduResponseParser::StatusProperties StatusProperties
Definition: AbstractOpenSessionRespPars.cpp:55
keyple::plugin::stub::StubReaderImpl
Definition: StubReaderImpl.h:57
keyple::core::seproxy::plugin::AbstractLocalReader::isPhysicalChannelOpen
virtual bool isPhysicalChannelOpen()=0
keyple::core::selection::SeSelection::prepareSelection
int prepareSelection(std::shared_ptr< AbstractSeSelectionRequest< AbstractApduCommandBuilder >> seSelectionRequest)
Definition: SeSelection.cpp:45
SamIdentifier.h
keyple::calypso::command::sam::builder::security::SvPrepareUndebitCmdBuild::createResponseParser
std::shared_ptr< SvPrepareOperationRespPars > createResponseParser(const std::shared_ptr< ApduResponse > apduResponse) override
Definition: SvPrepareUndebitCmdBuild.cpp:54
keyple::plugin::stub::StubPluginImpl::fetchNativeReader
std::shared_ptr< SeReader > fetchNativeReader(const std::string &readerName) override
Definition: StubPluginImpl.cpp:179
keyple::calypso::transaction::PoCommandManager::addRegularCommand
void addRegularCommand(std::shared_ptr< AbstractPoCommandBuilder< AbstractPoResponseParser >> commandBuilder)
Definition: PoCommandManager.cpp:34
keyple::calypso::command::po::parser::security::AbstractOpenSessionRespPars::toSecureSession
virtual std::shared_ptr< SecureSession > toSecureSession(const std::vector< uint8_t > &apduResponseData)
Definition: AbstractOpenSessionRespPars.cpp:155
keyple::plugin::pcsc::PcscPluginImpl::initNativeReaders
ConcurrentMap< const std::string, std::shared_ptr< SeReader > > & initNativeReaders() override
Definition: PcscPluginImpl.cpp:92
keyple::core::seproxy::event::operator<<
std::ostream & operator<<(std::ostream &os, const ObservableReader::PollingMode &pm)
Definition: ObservableReader.cpp:115
AbstractSamResponseParser.h
keyple::calypso::command::po::builder::SelectFileCmdBuild::getSelectFileControl
SelectFileControl getSelectFileControl() const
Definition: SelectFileCmdBuild.cpp:111
keyple::calypso::transaction::PoTransaction::prepareUpdateRecord
void prepareUpdateRecord(const uint8_t sfi, const uint8_t recordNumber, const std::vector< uint8_t > &recordData)
Definition: PoTransaction.cpp:1108
keyple::calypso::transaction::ElementaryFile::operator==
bool operator==(const ElementaryFile &o) const
Definition: ElementaryFile.cpp:55
OpenSession31RespPars.h
keyple::calypso::command::po::builder::security::OpenSession31CmdBuild::isSessionBufferUsed
virtual bool isSessionBufferUsed() const override
Definition: OpenSession31CmdBuild.cpp:69
keyple::common::ConcurrentMap
Definition: ConcurrentMap.h:26
keyple::core::seproxy::SeSelector::AidSelector::FileControlInformation::FCI
static const FileControlInformation FCI
Definition: SeSelector.h:134
keyple::calypso::transaction::SamSelector::SamSelectorBuilder::samIdentifier
SamSelectorBuilder & samIdentifier(const std::shared_ptr< SamIdentifier > samIdentifier)
Definition: SamSelector.cpp:111
keyple::core::selection::AbstractMatchingSe::getAtrBytes
const std::vector< uint8_t > & getAtrBytes() const
Definition: AbstractMatchingSe.cpp:76
keyple::core::seproxy::plugin::AbstractObservableState::mExecutorService
std::shared_ptr< ExecutorService > mExecutorService
Definition: AbstractObservableState.h:106
keyple::common::Logger::error
void error(const std::string &format, Args... args)
Definition: Logger.h:112
keyple::common::exception::SecurityException::SecurityException
SecurityException(const std::string &message)
Definition: SecurityException.h:27
keyple::calypso::transaction::PoSelector::PoSelectorBuilder::PoSelector
friend PoSelector
Definition: PoSelector.h:57
keyple::calypso::command::po::CalypsoPoCommand::OPEN_SESSION_10
static const CalypsoPoCommand OPEN_SESSION_10
Definition: CalypsoPoCommand.h:40
keyple::plugin::pcsc::operator<<
std::ostream & operator<<(std::ostream &os, const PcscTerminal &t)
Definition: PcscTerminal.cpp:375
keyple::calypso::transaction::SamResourceManagerPool::SamResourceManagerPool
SamResourceManagerPool(ReaderPoolPlugin &samReaderPoolPlugin, const int maxBlockingTime, const int sleepTime)
Definition: SamResourceManagerPool.cpp:37
keyple::core::selection::AbstractSeSelectionRequest::operator<<
friend std::ostream & operator<<(std::ostream &os, const AbstractSeSelectionRequest< T > &asr)
Definition: AbstractSeSelectionRequest.h:110
InstantiationException.h
OpenSession10CmdBuild.h
keyple::plugin::pcsc::PcscReaderImpl::getParameters
const std::map< const std::string, const std::string > & getParameters() const override
Definition: PcscReaderImpl.cpp:388
keyple::core::command::AbstractApduResponseParser::buildCommandException
virtual const KeypleSeCommandException buildCommandException(const std::type_info &exceptionClass, const std::string &message, const std::shared_ptr< SeCommand > commandRef, const int statusCode) const
Definition: AbstractApduResponseParser.cpp:130
keyple::common::StringHelper::uint24ToHexString
static std::string uint24ToHexString(const uint32_t v)
Definition: stringhelper.h:127
keyple::core::selection::AbstractMatchingSe::~AbstractMatchingSe
virtual ~AbstractMatchingSe()
Definition: AbstractMatchingSe.h:48
keyple::calypso::transaction::CalypsoPoUtils::getSvKvc
static uint8_t getSvKvc()
Definition: CalypsoPoUtils.cpp:640
keyple::calypso::command::sam::parser::security::SamReadKeyParametersRespPars::getStatusTable
const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const override
Definition: SamReadKeyParametersRespPars.cpp:83
CalypsoSamIOException.h
keyple::calypso::command::po::builder::GetDataFciCmdBuild
Definition: GetDataFciCmdBuild.h:51
Byte.h
keyple::calypso::command::po::builder::security::AbstractOpenSessionCmdBuild::create
static std::shared_ptr< AbstractOpenSessionCmdBuild< T > > create(const PoRevision revision, const uint8_t debitKeyIndex, const std::vector< uint8_t > &sessionTerminalChallenge, const uint8_t sfi, const uint8_t recordNumber)
Definition: AbstractOpenSessionCmdBuild.h:80
keyple::calypso::command::po::builder::storedvalue::SvDebitCmdBuild::SvDebitCmdBuild
SvDebitCmdBuild(const PoClass &poClass, const PoRevision &poRevision, const int amount, const uint8_t kvc, const std::vector< uint8_t > &date, const std::vector< uint8_t > &time)
Definition: SvDebitCmdBuild.cpp:33
keyple::core::seproxy::event::NotificationMode
ObservableReader::NotificationMode NotificationMode
Definition: ObservableReader.cpp:25
keyple::core::seproxy::event::ObservableReader::NotificationMode::ordinal
int ordinal()
Definition: ObservableReader.cpp:93
keyple::calypso::transaction::CalypsoPo::getSoftwareVersion
uint8_t getSoftwareVersion() const
Definition: CalypsoPo.cpp:294
keyple::core::seproxy::SeSelector::AidSelector::getAidToSelect
const std::vector< uint8_t > & getAidToSelect() const
Definition: SeSelector.cpp:136
keyple::calypso::command::sam::parser::security::SvPrepareOperationRespPars::getStatusTable
const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const override
Definition: SvPrepareOperationRespPars.cpp:76
keyple::calypso::command::po::parser::security::AbstractOpenSessionRespPars::SecureSession::getSecureSessionData
virtual const std::vector< uint8_t > & getSecureSessionData() const
Definition: AbstractOpenSessionRespPars.cpp:314
keyple::common::StringHelper::trimStart
static std::string trimStart(std::string source, const std::string &trimChars=" \t\n\r\v\f")
Definition: stringhelper.h:30
keyple::calypso::transaction::PoSecuritySettings::PoSecuritySettingsBuilder::mPinCipheringKey
std::shared_ptr< KeyReference > mPinCipheringKey
Definition: PoSecuritySettings.h:90
DigestUpdateMultipleRespPars.h
keyple::calypso::command::po::parser::security::RehabilitateRespPars::RehabilitateRespPars
RehabilitateRespPars(std::shared_ptr< ApduResponse > response, RehabilitateCmdBuild *builder)
Definition: RehabilitateRespPars.cpp:58
keyple::plugin::stub::StubPoolPluginFactory::~StubPoolPluginFactory
virtual ~StubPoolPluginFactory()=default
keyple::plugin::pcsc::PcscTerminalException::PcscTerminalException
PcscTerminalException(const std::string &msg, std::exception &cause)
Definition: PcscTerminalException.h:34
keyple::calypso::command::po::parser::DecreaseRespPars::getStatusTable
const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const override
Definition: DecreaseRespPars.cpp:104
keyple::core::command::exception
Definition: KeypleSeCommandException.h:28
keyple::calypso::transaction::PoSecuritySettings::mDefaultSessionModificationMode
static const ModificationMode mDefaultSessionModificationMode
Definition: PoSecuritySettings.h:49
keyple::core::seproxy::plugin::ObservableReaderNotifier::~ObservableReaderNotifier
virtual ~ObservableReaderNotifier()
Definition: ObservableReaderNotifier.h:42
keyple::calypso::transaction::CalypsoPoUtils::SV_LOG_FILE_REC_LENGTH
static const uint8_t SV_LOG_FILE_REC_LENGTH
Definition: CalypsoPoUtils.h:135
keyple::calypso::transaction::SamSelector::SamSelectorBuilder::SamSelectorBuilder
SamSelectorBuilder()
Definition: SamSelector.cpp:92
keyple::calypso::transaction::CalypsoPoUtils::SEL_NUM_REC_OFFSET
static const int SEL_NUM_REC_OFFSET
Definition: CalypsoPoUtils.h:117
keyple::core::seproxy::plugin::AbstractLocalReader::isSePresent
bool isSePresent() override
Definition: AbstractLocalReader.cpp:71
keyple::core::seproxy::SeProxyService::isRegistered
bool isRegistered(const std::string &pluginName)
Definition: SeProxyService.cpp:69
keyple::core::util::ByteArrayUtil::fromHex
static std::vector< uint8_t > fromHex(const std::string &hex)
Definition: ByteArrayUtil.cpp:53
ReaderPlugin.h
keyple::calypso::command::po::parser::storedvalue::SvDebitRespPars::SvDebitRespPars
SvDebitRespPars(std::shared_ptr< ApduResponse > response, SvDebitCmdBuild *builder)
Definition: SvDebitRespPars.cpp:74
keyple::calypso::command::po::builder::ReadRecordsCmdBuild::ReadMode::ONE_RECORD
@ ONE_RECORD
keyple::core::seproxy::plugin::AbstractThreadedObservablePlugin::fetchNativeReadersNames
virtual const std::set< std::string > & fetchNativeReadersNames()=0
keyple::calypso::command::po::builder::UpdateRecordCmdBuild::UpdateRecordCmdBuild
UpdateRecordCmdBuild(const PoClass poClass, const uint8_t sfi, const uint8_t recordNumber, const std::vector< uint8_t > &newRecordData)
Definition: UpdateRecordCmdBuild.cpp:37
keyple::core::seproxy::SeSelector::SeSelectorBuilder::seProtocol
virtual SeSelectorBuilder & seProtocol(const std::shared_ptr< SeProtocol > seProtocol)
Definition: SeSelector.cpp:269
keyple::calypso::command::po::builder::DecreaseCmdBuild::getDecValue
int getDecValue() const
Definition: DecreaseCmdBuild.cpp:94
CardGenerateKeyCmdBuild.h
keyple::core::seproxy::plugin::CardPresentMonitoringJob::monitoringJob
void monitoringJob(AbstractObservableState *state, std::atomic< bool > &cancellationFlag)
Definition: CardPresentMonitoringJob.cpp:32
keyple::core::seproxy::plugin::AbstractReader::mNotificationMode
ObservableReader::NotificationMode mNotificationMode
Definition: AbstractReader.h:125
WaitForSeInsertion.h
DigestUpdateCmdBuild.h
keyple::plugin::pcsc::PcscReaderImpl::initStateService
std::shared_ptr< ObservableReaderStateService > initStateService() override
Definition: PcscReaderImpl.cpp:95
KeypleRuntimeException.h
keyple::calypso::command::po::builder::operator<<
std::ostream & operator<<(std::ostream &os, const ReadRecordsCmdBuild::ReadMode &rm)
Definition: ReadRecordsCmdBuild.cpp:93
keyple::core::seproxy::plugin::SmartSelectionReader::openChannelForAid
virtual std::shared_ptr< ApduResponse > openChannelForAid(SeSelector::AidSelector &aidSelector)=0
keyple::calypso::command::po::AbstractPoResponseParser::checkStatus
void checkStatus() const override
Definition: AbstractPoResponseParser.cpp:92
keyple::calypso::command::po::builder::WriteRecordCmdBuild::WriteRecordCmdBuild
WriteRecordCmdBuild(const PoClass &poClass, const uint8_t sfi, const uint8_t recordNumber, const std::vector< uint8_t > &newRecordData)
Definition: WriteRecordCmdBuild.cpp:36
keyple::calypso::command::po::builder::WriteRecordCmdBuild::isSessionBufferUsed
bool isSessionBufferUsed() const override
Definition: WriteRecordCmdBuild.cpp:65
keyple::core::selection::AbstractSeSelectionRequest::parse
virtual const std::shared_ptr< AbstractMatchingSe > parse(std::shared_ptr< SeResponse > seResponse)=0
keyple::calypso::command::po::builder::storedvalue::SvReloadCmdBuild::SvReloadCmdBuild
SvReloadCmdBuild(const PoClass &poClass, const PoRevision &poRevision, const int amount, const uint8_t kvc, const std::vector< uint8_t > &date, const std::vector< uint8_t > &time, const std::vector< uint8_t > &free)
Definition: SvReloadCmdBuild.cpp:33
CountDownLatch::await
bool await(const std::chrono::duration< Rep, Period > &timeout)
Definition: CountDownLatch.h:34
OpenSession24RespPars.h
keyple::core::seproxy::event::ReaderEvent::EventType::SE_INSERTED
static const EventType SE_INSERTED
Definition: ReaderEvent.h:58
keyple::common::Pattern::matcher
std::unique_ptr< Matcher > matcher(const std::string &input) const
Definition: Pattern.cpp:35
keyple::core::util::bertlv::TLV::getPosition
int getPosition() const
Definition: TLV.cpp:93
keyple::core::command::exception::KeypleSeCommandUnknownStatusException
Definition: KeypleSeCommandUnknownStatusException.h:29
keyple::calypso::command::po::parser::GetDataFciRespPars::getStatusTable
const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const override
Definition: GetDataFciRespPars.cpp:90
keyple::core::selection::SeSelection
Definition: SeSelection.h:52
keyple::calypso::command::po::builder::AppendRecordCmdBuild::isSessionBufferUsed
virtual bool isSessionBufferUsed() const override
Definition: AppendRecordCmdBuild.cpp:63
keyple::calypso::command::sam::parser::security::SamReadEventCounterRespPars
Definition: SamReadEventCounterRespPars.h:38
CloseSessionCmdBuild.h
keyple::plugin::stub::StubProtocolSetting
Definition: StubProtocolSetting.h:55
keyple::core::seproxy::SeSelector::AtrFilter::setAtrRegex
virtual void setAtrRegex(const std::string &atrRegex)
Definition: SeSelector.cpp:185
keyple::plugin::stub::StubPoolPlugin
Definition: StubPoolPlugin.h:34
keyple::calypso::transaction::ReaderObserver
SamResourceManagerDefault::ReaderObserver ReaderObserver
Definition: SamResourceManagerDefault.cpp:48
keyple::core::seproxy::plugin::AbstractMonitoringJob::stop
virtual void stop()
Definition: AbstractMonitoringJob.h:68
keyple::plugin::stub::StubReaderImpl::closePhysicalChannel
void closePhysicalChannel() override
Definition: StubReaderImpl.cpp:105
keyple::calypso::command::po::parser::security::OpenSession10RespPars::toSecureSession
std::shared_ptr< SecureSession > toSecureSession(const std::vector< uint8_t > &apduResponseData) override
Definition: OpenSession10RespPars.cpp:51
keyple::common::Thread::interrupt
void interrupt()
Definition: Thread.h:210
keyple::calypso::transaction::exception::CalypsoPoAnomalyException::getCause
const CalypsoPoCommandException & getCause() override
Definition: CalypsoPoAnomalyException.h:48
keyple::plugin::stub::StubReader::~StubReader
virtual ~StubReader()=default
keyple::calypso::command::po::parser::UpdateRecordRespPars
Definition: UpdateRecordRespPars.h:43
keyple::calypso::command::sam::parser::security::SamWriteKeyRespPars
Definition: SamWriteKeyRespPars.h:37
keyple::calypso::command::sam::builder::security::SvPrepareLoadCmdBuild
Definition: SvPrepareLoadCmdBuild.h:34
keyple::core::util::bertlv::operator<<
std::ostream & operator<<(std::ostream &os, const Tag::TagClass &tc)
Definition: Tag.cpp:101
keyple::calypso::transaction::SvLoadLogRecord::getSamTNumBytes
const std::vector< uint8_t > getSamTNumBytes() const
Definition: SvLoadLogRecord.cpp:128
keyple::plugin::pcsc::PcscReader::SETTING_KEY_PROTOCOL
static const std::string SETTING_KEY_PROTOCOL
Definition: PcscReader.h:38
keyple::core::selection::SelectionsResult::getActiveSelectionIndex
int getActiveSelectionIndex() const
Definition: SelectionsResult.cpp:89
keyple::calypso::command::sam::SamRevision::AUTO
static const SamRevision AUTO
Definition: SamRevision.h:62
keyple::calypso::transaction::SamIdentifier::getSamRevision
const SamRevision & getSamRevision() const
Definition: SamIdentifier.cpp:40
keyple::calypso::command::po::builder::AppendRecordCmdBuild::getSfi
uint8_t getSfi() const
Definition: AppendRecordCmdBuild.cpp:68
keyple::calypso::transaction::CalypsoPo::getPinAttemptRemaining
int getPinAttemptRemaining() const
Definition: CalypsoPo.cpp:556
keyple::calypso::transaction::CalypsoPoUtils::SV_DEBIT_LOG_FILE_NB_REC
static const uint8_t SV_DEBIT_LOG_FILE_NB_REC
Definition: CalypsoPoUtils.h:134
keyple::calypso::transaction::CalypsoPoUtils::SEL_EF_TYPE_OFFSET
static const int SEL_EF_TYPE_OFFSET
Definition: CalypsoPoUtils.h:115
Integer.h
keyple::core::seproxy::protocol::SeCommonProtocols::SeCommonProtocol::getName
const std::string & getName() const override
Definition: SeCommonProtocols.cpp:113
keyple::calypso::transaction::PoTransaction::prepareSelectFile
void prepareSelectFile(const std::vector< uint8_t > &lid)
Definition: PoTransaction.cpp:988
Pattern.h
CalypsoAuthenticationNotVerifiedException.h
keyple::calypso::transaction::PoTransaction::PinTransmissionMode::ENCRYPTED
@ ENCRYPTED
SamReadKeyParametersRespPars.h
keyple::calypso::command::po::exception
Definition: CalypsoPoAccessForbiddenException.h:24
keyple::calypso::transaction::SamResourceManagerDefault::PluginObserver::update
void update(const std::shared_ptr< PluginEvent > event) override
Definition: SamResourceManagerDefault.cpp:261
keyple::calypso::command::po::PoRevision
PoRevision
Definition: PoRevision.h:32
keyple::common::exception::IndexOutOfBoundsException
Definition: IndexOutOfBoundsException.h:22
keyple::core::seproxy::event::ReaderEvent::EventType::valueOf
static const EventType & valueOf(const std::string &name)
keyple::core::seproxy::protocol::SeCommonProtocols
Definition: SeCommonProtocols.h:30
keyple::core::seproxy::plugin
Definition: AbstractLocalReader.cpp:46
keyple::calypso::command::sam::SamRevision::SamRevision
SamRevision(const SamRevision &o)
Definition: SamRevision.cpp:38
keyple::plugin::stub::StubPoolPluginFactory::StubPoolPluginFactory
StubPoolPluginFactory(const std::string &pluginName)
Definition: StubPoolPluginFactory.cpp:30
keyple::calypso::command::po::parser::security::AbstractOpenSessionRespPars::getStatusTable
const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const override
Definition: AbstractOpenSessionRespPars.cpp:129
keyple::calypso::command::sam::parser::security::SamReadKeyParametersRespPars::SamReadKeyParametersRespPars
SamReadKeyParametersRespPars(const std::shared_ptr< ApduResponse > response, SamReadKeyParametersCmdBuild *builder)
Definition: SamReadKeyParametersRespPars.cpp:74
keyple::core::seproxy::SeProxyService
Definition: SeProxyService.h:39
keyple::calypso::transaction::SamIdentifier::matches
bool matches(const std::shared_ptr< SamIdentifier > samIdentifier) const
Definition: SamIdentifier.cpp:55
keyple::core::seproxy::message::SeRequest::getApduRequests
const std::vector< std::shared_ptr< ApduRequest > > & getApduRequests() const
Definition: SeRequest.cpp:47
keyple::calypso::transaction::ElementaryFile::setHeader
ElementaryFile & setHeader(const std::shared_ptr< FileHeader > header)
Definition: ElementaryFile.cpp:43
keyple::calypso::command::sam::builder::security::DigestInitCmdBuild
Definition: DigestInitCmdBuild.h:43
keyple::common::exception::ClassNotFoundException::ClassNotFoundException
ClassNotFoundException(const std::string &message, const std::exception cause)
Definition: ClassNotFoundException.h:32
keyple::core::seproxy::protocol::SeCommonProtocols::SeCommonProtocol::SeCommonProtocol
SeCommonProtocol(const std::string &name, const TransmissionMode &transmissionMode)
Definition: SeCommonProtocols.cpp:107
keyple::calypso::transaction::PoTransaction::SessionSetting::AccessLevel::operator!=
bool operator!=(const AccessLevel &o) const
Definition: PoTransaction.cpp:1406
keyple::calypso::transaction::SamResourceManagerPool::mSamReaderPlugin
ReaderPoolPlugin & mSamReaderPlugin
Definition: SamResourceManagerPool.h:74
keyple::core::util::bertlv
Definition: Tag.cpp:24
keyple::calypso::command::po::builder::security::OpenSession24CmdBuild::getSfi
virtual uint8_t getSfi() const override
Definition: OpenSession24CmdBuild.cpp:86
keyple::calypso::transaction::SamSelector::getUnlockData
const std::vector< uint8_t > & getUnlockData() const
Definition: SamSelector.cpp:80
keyple::common::Arrays::equals
static bool equals(const std::vector< char > &a1, const std::vector< char > &a2)
Definition: Arrays.h:28
keyple::calypso::transaction::SvLoadLogRecord::getSamIdBytes
const std::vector< uint8_t > getSamIdBytes() const
Definition: SvLoadLogRecord.cpp:101
keyple::calypso::transaction::DirectoryHeader::DirectoryHeaderBuilder::DirectoryHeader
friend DirectoryHeader
Definition: DirectoryHeader.h:46
keyple::calypso::transaction::SamResourceManager::AllocationMode::NON_BLOCKING
@ NON_BLOCKING
KeyplePluginStubExport.h
keyple::core::seproxy::message::ChannelControl::KEEP_OPEN
@ KEEP_OPEN
SmartRemovalMonitoringJob.h
PoSelector.h
keyple::calypso::command::po::parser::security::VerifyPinRespPars::getStatusTable
const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const override
Definition: VerifyPinRespPars.cpp:119
keyple::core::seproxy::event::ObservableReader::NotificationMode::values
static std::vector< NotificationMode > values()
Definition: ObservableReader.cpp:88
keyple::core::command::AbstractApduResponseParser::STATUS_TABLE
static const std::map< int, std::shared_ptr< StatusProperties > > STATUS_TABLE
Definition: AbstractApduResponseParser.h:171
keyple::plugin::stub::StubSecureElement::mIsPhysicalChannelOpen
bool mIsPhysicalChannelOpen
Definition: StubSecureElement.h:38
SelectFileRespPars.h
keyple::core::seproxy::exception::KeypleAllocationReaderException::KeypleAllocationReaderException
KeypleAllocationReaderException(const std::string &msg)
Definition: KeypleAllocationReaderException.h:32
keyple::calypso::command::po::parser::storedvalue::SvGetRespPars::getLoadLog
const std::shared_ptr< SvLoadLogRecord > getLoadLog() const
Definition: SvGetRespPars.cpp:155
keyple::calypso::transaction::SamCommandProcessor::getSvUndebitComplementaryData
const std::vector< uint8_t > getSvUndebitComplementaryData(std::shared_ptr< SvUndebitCmdBuild > svUndebitCmdBuild, const std::vector< uint8_t > &svGetHeader, const std::vector< uint8_t > &svGetData)
Definition: SamCommandProcessor.cpp:592
keyple::calypso::transaction::SamCommandProcessor::authenticatePoSignature
void authenticatePoSignature(const std::vector< uint8_t > &poSignatureLo)
Definition: SamCommandProcessor.cpp:374
keyple::common::Thread::selfId
std::thread::id selfId()
Definition: Thread.h:140
CalypsoPoCloseSecureSessionException.h
keyple::calypso::command::po::builder::security::OpenSession32CmdBuild::createResponseParser
std::shared_ptr< AbstractOpenSessionRespPars > createResponseParser(std::shared_ptr< ApduResponse > apduResponse) override
Definition: OpenSession32CmdBuild.cpp:72
keyple::calypso::transaction::FileData::getContentAsCounterValue
int getContentAsCounterValue(const int numCounter) const
Definition: FileData.cpp:85
keyple::calypso::transaction::exception::CalypsoPoCloseSecureSessionException::getCause
const CalypsoPoCommandException & getCause()
Definition: CalypsoPoCloseSecureSessionException.h:52
keyple::core::seproxy::plugin::ExecutorService::submit
std::future< void > * submit(std::shared_ptr< AbstractMonitoringJob > monitoringJob, AbstractObservableState *state, std::atomic< bool > &cancellationFlag)
Definition: ExecutorService.cpp:56
keyple::calypso::transaction::DirectoryHeader
Definition: DirectoryHeader.h:35
keyple::plugin::stub::StubReaderImpl::initStateService
std::shared_ptr< ObservableReaderStateService > initStateService() override
Definition: StubReaderImpl.cpp:280
keyple::calypso::transaction::CalypsoPoUtils::EF_TYPE_BINARY
static const int EF_TYPE_BINARY
Definition: CalypsoPoUtils.h:104
keyple::core::seproxy::PluginFactory
Definition: PluginFactory.h:23
keyple::calypso::transaction::CalypsoPo::getDirectoryHeader
const std::shared_ptr< DirectoryHeader > getDirectoryHeader() const
Definition: CalypsoPo.cpp:329
keyple::core::seproxy::event::ObservableReader::ReaderObserver
Definition: ObservableReader.h:47
keyple::calypso::command::po::builder::security::AbstractOpenSessionCmdBuild::AbstractOpenSessionCmdBuild
AbstractOpenSessionCmdBuild(PoRevision revision)
Definition: AbstractOpenSessionCmdBuild.h:75
keyple::core::seproxy::plugin::SmartRemovalMonitoringJob::stop
void stop() override
Definition: SmartRemovalMonitoringJob.cpp:76
SvPrepareLoadCmdBuild.h
Logger.h
keyple::core::seproxy::ProxyElement
Definition: ProxyElement.h:28
keyple::calypso::transaction::CalypsoPoUtils::getPoChallenge
static const std::vector< uint8_t > & getPoChallenge()
Definition: CalypsoPoUtils.cpp:635
keyple::core::seproxy::plugin::AbstractLocalReader::getProtocolsMap
const std::map< std::shared_ptr< SeProtocol >, std::string > & getProtocolsMap() const
Definition: AbstractLocalReader.cpp:703
keyple::core::seproxy::exception::KeyplePluginInstantiationException::KeyplePluginInstantiationException
KeyplePluginInstantiationException(const std::string &msg, const std::exception &cause)
Definition: KeyplePluginInstantiationException.h:43
WaitForSeRemoval.h
keyple::calypso::command::sam::builder::security::SvPrepareDebitCmdBuild::SvPrepareDebitCmdBuild
SvPrepareDebitCmdBuild(const SamRevision &revision, const std::vector< uint8_t > &svGetHeader, const std::vector< uint8_t > &svGetData, const std::vector< uint8_t > &svDebitCmdBuildData)
Definition: SvPrepareDebitCmdBuild.cpp:35
keyple::calypso::transaction::FileData::FileData
FileData()
Definition: FileData.cpp:36
keyple::calypso::command::po::parser::IncreaseRespPars::getNewValue
int getNewValue()
Definition: IncreaseRespPars.cpp:119
keyple::calypso::transaction::DirectoryHeader::DirectoryHeaderBuilder::dfStatus
DirectoryHeaderBuilder & dfStatus(const uint8_t dfStatus)
Definition: DirectoryHeader.cpp:57
keyple::calypso::command::sam::parser::security::UnlockRespPars::getStatusTable
const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const override
Definition: UnlockRespPars.cpp:66
keyple::calypso::transaction::PoSelector::PoSelector
PoSelector(PoSelectorBuilder *builder)
Definition: PoSelector.cpp:33
keyple::calypso::transaction::PoTransaction::processPoCommands
void processPoCommands()
Definition: PoTransaction.cpp:617
keyple::plugin::pcsc::PcscPluginFactory::getPlugin
std::shared_ptr< ReaderPlugin > getPlugin() const override
Definition: PcscPluginFactory.cpp:38
keyple::calypso::transaction::FileData::getAllCountersValue
const std::map< int, int > getAllCountersValue() const
Definition: FileData.cpp:109
keyple::core::selection::SeSelection::getSelectionOperation
std::shared_ptr< AbstractDefaultSelectionsRequest > getSelectionOperation()
Definition: SeSelection.cpp:157
keyple::core::util::bertlv::Tag::TagClass::UNIVERSAL
@ UNIVERSAL
keyple::calypso::command::po::builder::IncreaseCmdBuild::IncreaseCmdBuild
IncreaseCmdBuild(const PoClass poClass, const uint8_t sfi, const uint8_t counterNumber, const int incValue)
Definition: IncreaseCmdBuild.cpp:38
keyple::core::seproxy::plugin::WaitForSeProcessing::WaitForSeProcessing
WaitForSeProcessing(AbstractObservableLocalReader *reader)
Definition: WaitForSeProcessing.cpp:21
keyple::core::seproxy::plugin::AbstractObservableLocalReader::countObservers
int countObservers() const final
Definition: AbstractObservableLocalReader.cpp:287
keyple::core::seproxy::message::SelectionStatus::~SelectionStatus
virtual ~SelectionStatus()
Definition: SelectionStatus.h:52
keyple::core::seproxy::plugin::InternalEvent::SE_REMOVED
@ SE_REMOVED
keyple::calypso::command::po::exception::CalypsoPoSecurityDataException
Definition: CalypsoPoSecurityDataException.h:31
keyple::plugin::pcsc::PcscProtocolSetting::PCSC_PROTOCOL_SETTING
static std::map< std::shared_ptr< SeCommonProtocol >, std::string > PCSC_PROTOCOL_SETTING
Definition: PcscProtocolSetting.h:62
keyple::core::seproxy::event::ReaderEvent::EventType
Definition: ReaderEvent.h:48
keyple::calypso::command::sam::parser::security::SelectDiversifierRespPars
Definition: SelectDiversifierRespPars.h:41
keyple::calypso::transaction::SvLoadLogRecord::getLoadTimeBytes
const std::vector< uint8_t > getLoadTimeBytes() const
Definition: SvLoadLogRecord.cpp:48
keyple::calypso::transaction::SamCommandProcessor::getCipheredPinData
const std::vector< uint8_t > getCipheredPinData(const std::vector< uint8_t > &poChallenge, const std::vector< uint8_t > &currentPin, const std::vector< uint8_t > &newPin)
Definition: SamCommandProcessor.cpp:428
keyple::calypso::transaction::exception::CalypsoSamRevokedException::CalypsoSamRevokedException
CalypsoSamRevokedException(const std::string &message)
Definition: CalypsoSamRevokedException.h:33
keyple::calypso::command::po::builder::storedvalue::SvUndebitCmdBuild::createResponseParser
std::shared_ptr< SvUndebitRespPars > createResponseParser(std::shared_ptr< ApduResponse > apduResponse) override
Definition: SvUndebitCmdBuild.cpp:109
keyple::calypso::command::po::builder::security::CloseSessionCmdBuild::createResponseParser
std::shared_ptr< CloseSessionRespPars > createResponseParser(std::shared_ptr< ApduResponse > apduResponse) override
Definition: CloseSessionCmdBuild.cpp:85
keyple::calypso::transaction::SamResourceManagerDefault::PluginObserver::mSamReaderFilter
const std::string mSamReaderFilter
Definition: SamResourceManagerDefault.h:95
keyple::core::util::bertlv::Tag::TagType::PRIMITIVE
@ PRIMITIVE
keyple::calypso::command::sam::parser::security::SamReadCeilingsRespPars::getStatusTable
const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const override
Definition: SamReadCeilingsRespPars.cpp:72
keyple::calypso::transaction::CalypsoPoUtils::MASK_2_BYTES
static const int MASK_2_BYTES
Definition: CalypsoPoUtils.h:61
keyple::calypso::command::sam::CalypsoSamCommand::SV_PREPARE_LOAD
static const CalypsoSamCommand SV_PREPARE_LOAD
Definition: CalypsoSamCommand.h:118
keyple::calypso::command::po::builder::security::InvalidateCmdBuild
Definition: InvalidateCmdBuild.h:41
CalypsoPoTerminatedException.h
AbstractSeProxyComponent.h
keyple::common::Arrays::copyOfRange
static std::vector< uint8_t > copyOfRange(const std::vector< uint8_t > &original, int from, int to)
Definition: Arrays.h:89
keyple::calypso::transaction::exception::CalypsoSamIOException::CalypsoSamIOException
CalypsoSamIOException(const std::string &message)
Definition: CalypsoSamIOException.h:33
keyple::core::seproxy::exception::KeypleReaderIOException::getSeResponse
std::shared_ptr< SeResponse > getSeResponse() const
Definition: KeypleReaderIOException.h:77
keyple::calypso::command::po::parser::security::AbstractOpenSessionRespPars::SecureSession::SecureSession
SecureSession(const std::vector< uint8_t > &challengeTransactionCounter, const std::vector< uint8_t > &challengeRandomNumber, const bool previousSessionRatified, const bool manageSecureSessionAuthorized, const uint8_t kif, const uint8_t kvc, const std::vector< uint8_t > &originalData, const std::vector< uint8_t > &secureSessionData)
Definition: AbstractOpenSessionRespPars.cpp:228
keyple::calypso::transaction::CalypsoPo::isPinFeatureAvailable
bool isPinFeatureAvailable() const
Definition: CalypsoPo.cpp:274
keyple::calypso::command::sam::exception::CalypsoSamSecurityDataException
Definition: CalypsoSamSecurityDataException.h:34
keyple::calypso::command::sam::exception::CalypsoSamSecurityDataException::CalypsoSamSecurityDataException
CalypsoSamSecurityDataException(const std::string &message, const std::shared_ptr< CalypsoSamCommand > command, const int statusCode)
Definition: CalypsoSamSecurityDataException.h:41
keyple::calypso::command::po::parser::DecreaseRespPars::DecreaseRespPars
DecreaseRespPars(std::shared_ptr< ApduResponse > response, DecreaseCmdBuild *builder)
Definition: DecreaseRespPars.cpp:109
keyple::core::seproxy::plugin::AbstractMonitoringJob
Definition: AbstractMonitoringJob.h:42
keyple::core::seproxy::event::ObservableReader::addObserver
virtual void addObserver(const std::shared_ptr< ReaderObserver > observer)=0
CardPresentMonitoringJob.h
keyple::calypso::command::sam::parser::security::SvCheckRespPars::SvCheckRespPars
SvCheckRespPars(const std::shared_ptr< ApduResponse > response, SvCheckCmdBuild *builder)
Definition: SvCheckRespPars.cpp:60
keyple::plugin::stub::StubReaderImpl::~StubReaderImpl
~StubReaderImpl()
Definition: StubReaderImpl.cpp:66
keyple::core::seproxy::event::ObservableReader::PollingMode
PollingMode
Definition: ObservableReader.h:237
keyple::calypso::transaction::PoSelector::PoSelectorBuilder::invalidatedPo
PoSelectorBuilder & invalidatedPo(const InvalidatedPo invalidatedPo)
Definition: PoSelector.cpp:53
keyple::plugin::pcsc::PcscReaderImpl::setParameters
virtual void setParameters(const std::map< const std::string, const std::string > &parameters) final
Definition: PcscReaderImpl.h:135
keyple::calypso::command::sam::builder::security::DigestInitCmdBuild::createResponseParser
std::shared_ptr< DigestInitRespPars > createResponseParser(const std::shared_ptr< ApduResponse > apduResponse) override
Definition: DigestInitCmdBuild.cpp:82
keyple::core::seproxy::plugin::operator<<
std::ostream & operator<<(std::ostream &os, const InternalEvent &ie)
Definition: AbstractObservableLocalReader.cpp:303
keyple::core::command::AbstractApduResponseParser::getCommandRef
virtual const std::shared_ptr< SeCommand > getCommandRef() const
Definition: AbstractApduResponseParser.cpp:120
SamReadCeilingsRespPars.h
keyple::calypso::transaction::SamSelectionRequest
Definition: SamSelectionRequest.h:49
SvCheckRespPars.h
keyple::plugin::stub::StubPluginImpl::StubPluginImpl
StubPluginImpl(const std::string &pluginName)
Definition: StubPluginImpl.cpp:29
keyple::common::exception::IllegalAccessException::IllegalAccessException
IllegalAccessException(const std::string &message)
Definition: IllegalAccessException.h:27
keyple::core::seproxy::SeSelector::SeSelectorBuilder::mAtrFilter
std::shared_ptr< AtrFilter > mAtrFilter
Definition: SeSelector.h:474
keyple::core::seproxy::message
Definition: KeypleReaderIOException.h:27
keyple::core::seproxy::SeSelector::AidSelector::FileControlInformation::NO_RESPONSE
static const FileControlInformation NO_RESPONSE
Definition: SeSelector.h:137
keyple::common::StringHelper::uint32ToHexString
static std::string uint32ToHexString(const uint32_t v)
Definition: stringhelper.h:136
keyple::common::Thread::getName
std::string getName()
Definition: Thread.h:239
keyple::calypso::command::sam::CalypsoSamCommand::DIGEST_UPDATE
static const CalypsoSamCommand DIGEST_UPDATE
Definition: CalypsoSamCommand.h:48
keyple::core::seproxy::plugin::AbstractThreadedObservablePlugin::isMonitoring
bool isMonitoring()
Definition: AbstractThreadedObservablePlugin.cpp:92
keyple::calypso::transaction::PoSecuritySettings::getRatificationMode
RatificationMode getRatificationMode() const
Definition: PoSecuritySettings.cpp:66
keyple::plugin::pcsc::PcscReaderImpl::isPhysicalChannelOpen
bool isPhysicalChannelOpen() override
Definition: PcscReaderImpl.cpp:424
keyple::calypso::transaction::CalypsoPo::isSerialNumberExpiring
bool isSerialNumberExpiring() const
Definition: CalypsoPo.cpp:218
keyple::core::seproxy::message::DefaultSelectionsRequest
Definition: DefaultSelectionsRequest.h:35
keyple::calypso::command::po::parser::WriteRecordRespPars::WriteRecordRespPars
WriteRecordRespPars(std::shared_ptr< ApduResponse > response, WriteRecordCmdBuild *builder)
Definition: WriteRecordRespPars.cpp:95
SeCommand.h
keyple::core::seproxy::message::DefaultSelectionsResponse::DefaultSelectionsResponse
DefaultSelectionsResponse(const std::vector< std::shared_ptr< SeResponse >> &selectionSeResponseSet)
Definition: DefaultSelectionsResponse.cpp:24
keyple::core::seproxy::plugin::SmartInsertionMonitoringJob::startMonitoring
std::future< void > startMonitoring(AbstractObservableState *state, std::atomic< bool > &cancellationFlag) override
Definition: SmartInsertionMonitoringJob.cpp:68
keyple::calypso::command::po::AbstractPoResponseParser::buildCommandException
const KeypleSeCommandException buildCommandException(const std::type_info &exceptionClass, const std::string &message, const std::shared_ptr< SeCommand > commandRef, const int statusCode) const override
Definition: AbstractPoResponseParser.cpp:58
keyple::plugin::pcsc::PcscPlugin::PLUGIN_NAME
static const std::string PLUGIN_NAME
Definition: PcscPlugin.h:32
keyple::core::seproxy::event::ObservableReader::NotificationMode::toString
std::string toString()
Definition: ObservableReader.cpp:98
keyple::calypso::transaction::CalypsoSam::getSoftwareRevision
uint8_t getSoftwareRevision() const
Definition: CalypsoSam.cpp:141
keyple::core::seproxy::SeSelector::builder
static std::shared_ptr< SeSelectorBuilder > builder()
Definition: SeSelector.cpp:297
CalypsoPoSessionBufferOverflowException.h
keyple::calypso::transaction::SvDebitLogRecord::getSamTNum
int getSamTNum() const
Definition: SvDebitLogRecord.cpp:101
keyple::calypso::transaction::SamResourceManager::allocateSamResource
virtual std::shared_ptr< SeResource< CalypsoSam > > allocateSamResource(const AllocationMode allocationMode, const std::shared_ptr< SamIdentifier > samIdentifier)=0
keyple::calypso::command::sam::AbstractSamCommandBuilder::AbstractSamCommandBuilder
AbstractSamCommandBuilder(const std::shared_ptr< SeCommand > reference, const std::shared_ptr< ApduRequest > request)
Definition: AbstractSamCommandBuilder.h:53
FileData.h
keyple::calypso::command::sam::builder::security::SamReadKeyParametersCmdBuild::SourceRef
SourceRef
Definition: SamReadKeyParametersCmdBuild.h:49
keyple::core::seproxy::event::ObservablePlugin::countObservers
virtual int countObservers() const =0
SeProxyService.h
keyple::common::Pattern::Pattern
Pattern(const std::string &pattern, const int flags)
Definition: Pattern.cpp:19
keyple::core::seproxy::message::SeResponse::getSelectionStatus
const std::shared_ptr< SelectionStatus > getSelectionStatus() const
Definition: SeResponse.cpp:47
keyple::common::Object::Object
Object()=default
keyple::calypso::transaction::SamResourceManagerDefault::SamResourceManagerDefault
SamResourceManagerDefault(std::shared_ptr< ReaderPlugin > readerPlugin, const std::string &samReaderFilter, const int maxBlockingTime, const int sleepTime)
Definition: SamResourceManagerDefault.cpp:53
keyple::calypso::command::po::operator<<
std::ostream & operator<<(std::ostream &os, const PoRevision &pr)
Definition: PoRevision.cpp:23
keyple::calypso::transaction::ManagedSamResource
SamResourceManager::ManagedSamResource ManagedSamResource
Definition: SamResourceManager.cpp:34
keyple::calypso::transaction::exception::CalypsoSvAuthenticationException::CalypsoSvAuthenticationException
CalypsoSvAuthenticationException(const std::string &message)
Definition: CalypsoSvAuthenticationException.h:35
keyple::calypso::command::po::parser::security::ChangeKeyRespPars::getStatusTable
const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const override
Definition: ChangeKeyRespPars.cpp:98
keyple::common::exception::NoSuchElementException::NoSuchElementException
NoSuchElementException(const std::string &message)
Definition: NoSuchElementException.h:27
keyple::calypso::transaction::CalypsoPoUtils::MASK_3_BITS
static const int MASK_3_BITS
Definition: CalypsoPoUtils.h:56
keyple::core::seproxy::protocol::SeCommonProtocols::PROTOCOL_ISO7816_3
static const std::shared_ptr< SeCommonProtocol > PROTOCOL_ISO7816_3
Definition: SeCommonProtocols.h:106
keyple::calypso::transaction::CalypsoPoUtils::EF_TYPE_LINEAR
static const int EF_TYPE_LINEAR
Definition: CalypsoPoUtils.h:105
keyple::common::exception::InterruptedException::InterruptedException
InterruptedException(const std::string &name, const std::exception &cause)
Definition: InterruptedException.h:32
keyple::calypso::transaction::ElementaryFile::getSfi
uint8_t getSfi() const
Definition: ElementaryFile.cpp:33
KeypleCalypsoExport.h
keyple::calypso::command::sam::parser::security::SamReadEventCounterRespPars::SamReadEventCounterRespPars
SamReadEventCounterRespPars(const std::shared_ptr< ApduResponse > response, SamReadEventCounterCmdBuild *builder)
Definition: SamReadEventCounterRespPars.cpp:63
keyple::core::seproxy::plugin::SmartInsertionMonitoringJob
Definition: SmartInsertionMonitoringJob.h:41
keyple::calypso::command::po::builder::DecreaseCmdBuild::isSessionBufferUsed
bool isSessionBufferUsed() const override
Definition: DecreaseCmdBuild.cpp:79
keyple::core::selection::AbstractMatchingSe::getFciBytes
const std::vector< uint8_t > & getFciBytes() const
Definition: AbstractMatchingSe.cpp:68
keyple::calypso::command::sam::builder::security::SamReadKeyParametersCmdBuild::createResponseParser
std::shared_ptr< SamReadKeyParametersRespPars > createResponseParser(std::shared_ptr< ApduResponse > apduResponse) override
Definition: SamReadKeyParametersCmdBuild.cpp:147
keyple::core::seproxy::plugin::SmartSelectionReader
Definition: SmartSelectionReader.h:31
keyple::calypso::transaction::CalypsoPoUtils::CNT_VALUE_MIN
static const int CNT_VALUE_MIN
Definition: CalypsoPoUtils.h:85
keyple::calypso::command::sam::parser::security::UnlockRespPars
Definition: UnlockRespPars.h:36
StubProtocolSetting.h
keyple::core::seproxy::event::ReaderEvent::getDefaultSelectionsResponse
const std::shared_ptr< AbstractDefaultSelectionsResponse > getDefaultSelectionsResponse() const
Definition: ReaderEvent.cpp:143
keyple::core::seproxy::SeReader::~SeReader
virtual ~SeReader()
Definition: SeReader.h:47
keyple::calypso::command::sam::exception::CalypsoSamUnknownStatusException::CalypsoSamUnknownStatusException
CalypsoSamUnknownStatusException(const std::string &message, const std::shared_ptr< CalypsoSamCommand > command, const int statusCode)
Definition: CalypsoSamUnknownStatusException.h:39
keyple::plugin::pcsc::PcscTerminal::listTerminals
static const std::vector< std::string > & listTerminals()
Definition: PcscTerminal.cpp:54
keyple::calypso::transaction::CalypsoPo::isPublicAuthenticationSupported
bool isPublicAuthenticationSupported() const
Definition: CalypsoPo.cpp:279
keyple::plugin::pcsc::PcscTerminal::getName
const std::string & getName() const
Definition: PcscTerminal.cpp:49
keyple::core::seproxy::AidSelectorBuilder
SeSelector::AidSelector::AidSelectorBuilder AidSelectorBuilder
Definition: SeSelector.cpp:34
keyple::core::seproxy::message::SeRequest::getSeSelector
const std::shared_ptr< SeSelector > getSeSelector() const
Definition: SeRequest.cpp:42
keyple::calypso::command::po::CalypsoPoCommand::getOpenSessionForRev
static const CalypsoPoCommand & getOpenSessionForRev(PoRevision rev)
Definition: CalypsoPoCommand.cpp:68
keyple::calypso::command::sam::CalypsoSamCommand::WRITE_KEY
static const CalypsoSamCommand WRITE_KEY
Definition: CalypsoSamCommand.h:88
AbstractApduCommandBuilder.h
keyple::plugin::stub::StubPoolPluginImpl::StubPoolPluginImpl
StubPoolPluginImpl(const std::string &pluginName)
Definition: StubPoolPluginImpl.cpp:37
keyple::calypso::transaction::PoTransaction::SvSettings::LogRead::ALL
@ ALL
keyple::calypso::command::po::CalypsoPoCommand
Definition: CalypsoPoCommand.h:34
keyple::common::Integer::toString
std::string toString()
Definition: Integer.h:95
keyple::calypso::command::sam::parser::security::DigestCloseRespPars
Definition: DigestCloseRespPars.h:43
keyple::calypso::transaction::DirectoryHeader::getDfStatus
uint8_t getDfStatus() const
Definition: DirectoryHeader.cpp:105
keyple::calypso::transaction::CalypsoPo::isSvFeatureAvailable
bool isSvFeatureAvailable() const
Definition: CalypsoPo.cpp:269
keyple::calypso::transaction::CalypsoPo::setFileHeader
void setFileHeader(const uint8_t sfi, const std::shared_ptr< FileHeader > header)
Definition: CalypsoPo.cpp:373
keyple::calypso::transaction::DirectoryHeader::getKif
uint8_t getKif(const AccessLevel &level) const
Definition: DirectoryHeader.cpp:110
keyple::calypso::command::sam::parser::security::CardGenerateKeyRespPars::getStatusTable
const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const override
Definition: CardGenerateKeyRespPars.cpp:83
keyple::core::seproxy::event::ObservablePlugin::~ObservablePlugin
virtual ~ObservablePlugin()=default
keyple::calypso::transaction::CalypsoPoUtils::MASK_5_BITS
static const int MASK_5_BITS
Definition: CalypsoPoUtils.h:58
keyple::core::seproxy::exception::KeypleReaderIOException::getSeResponses
const std::vector< std::shared_ptr< SeResponse > > & getSeResponses() const
Definition: KeypleReaderIOException.h:60
keyple::calypso::transaction::CalypsoPoUtils::SEL_AC_LENGTH
static const int SEL_AC_LENGTH
Definition: CalypsoPoUtils.h:119
keyple::calypso::command::po::CalypsoPoCommand::REHABILITATE
static const CalypsoPoCommand REHABILITATE
Definition: CalypsoPoCommand.h:103
keyple::plugin::stub::StubReaderImpl::insertSe
void insertSe(std::shared_ptr< StubSecureElement > _se) override
Definition: StubReaderImpl.cpp:190
keyple::calypso::transaction::PoTransaction::prepareAppendRecord
void prepareAppendRecord(const uint8_t sfi, const std::vector< uint8_t > &recordData)
Definition: PoTransaction.cpp:1092
keyple::core::seproxy::message::ApduRequest::getSuccessfulStatusCodes
std::shared_ptr< std::set< int > > getSuccessfulStatusCodes()
Definition: ApduRequest.cpp:69
keyple::calypso::command::po::builder::SelectFileCmdBuild
Definition: SelectFileCmdBuild.h:46
keyple::core::seproxy::plugin::nativeReadersNames
std::shared_ptr< std::set< std::string > > nativeReadersNames
Definition: AbstractThreadedObservablePlugin.cpp:37
keyple::plugin::pcsc::PcscTerminalException::PcscTerminalException
PcscTerminalException(const std::string &msg)
Definition: PcscTerminalException.h:29
keyple::common::StringBuilder::remove
StringBuilder * remove(std::size_t start, std::size_t end)
Definition: stringbuilder.h:91
keyple::calypso::command::sam::builder::security::UnlockCmdBuild::UnlockCmdBuild
UnlockCmdBuild(const SamRevision &revision, const std::vector< uint8_t > &unlockData)
Definition: UnlockCmdBuild.cpp:33
keyple::common::BerDecoder::parseLength
int parseLength()
Definition: BerDecoder.h:81
keyple::calypso::transaction::CalypsoPo::getSvDebitLogLastRecord
const std::shared_ptr< SvDebitLogRecord > getSvDebitLogLastRecord()
Definition: CalypsoPo.cpp:523
keyple::core::seproxy::event::ObservablePlugin::PluginObserver::update
virtual void update(const std::shared_ptr< PluginEvent > event)=0
IncreaseCmdBuild.h
keyple::calypso::command::po::parser::security::AbstractOpenSessionRespPars::getSelectedKvc
virtual uint8_t getSelectedKvc() const
Definition: AbstractOpenSessionRespPars.cpp:216
keyple::calypso::transaction::SamIdentifier::SamIdentifierBuilder::samRevision
SamIdentifierBuilder & samRevision(const SamRevision &samRevision)
Definition: SamIdentifier.cpp:82
keyple::core::util::KeypleAssert::isInRange
const KeypleAssert & isInRange(const int number, const int minValue, const int maxValue, const std::string &name) const
Definition: KeypleAssert.cpp:94
keyple::calypso::command::PoClass::ISO
static const PoClass ISO
Definition: PoClass.h:38
keyple::calypso::command::sam::parser::security::SamGetChallengeRespPars::getChallenge
const std::vector< uint8_t > getChallenge() const
Definition: SamGetChallengeRespPars.cpp:63
keyple::calypso::transaction::PoCommandManager::addStoredValueCommand
void addStoredValueCommand(std::shared_ptr< AbstractPoCommandBuilder< AbstractPoResponseParser >> commandBuilder, const Operation &svOperation)
Definition: PoCommandManager.cpp:40
keyple::calypso::transaction::CalypsoPo::CalypsoPo
CalypsoPo(std::shared_ptr< SeResponse > selectionResponse, const TransmissionMode &transmissionMode)
Definition: CalypsoPo.cpp:73
keyple::calypso::command::po::CalypsoPoCommand::DECREASE
static const CalypsoPoCommand DECREASE
Definition: CalypsoPoCommand.h:73
UnlockCmdBuild.h
keyple::calypso::command::po::builder::security::OpenSession10CmdBuild::OpenSession10CmdBuild
OpenSession10CmdBuild(const uint8_t keyIndex, const std::vector< uint8_t > &samChallenge, const uint8_t sfi, const uint8_t recordNumber)
Definition: OpenSession10CmdBuild.cpp:41
keyple::calypso::command::po::parser::security::AbstractOpenSessionRespPars::getRecordDataRead
virtual const std::vector< uint8_t > & getRecordDataRead() const
Definition: AbstractOpenSessionRespPars.cpp:221
keyple::core::seproxy::ProxyElement::setParameters
virtual void setParameters(const std::map< const std::string, const std::string > &parameters)
Definition: ProxyElement.h:68
keyple::core::seproxy::SeSelector::AidSelector::FileOccurrence::LAST
static const FileOccurrence LAST
Definition: SeSelector.h:75
keyple::core::seproxy::message::ApduRequest::isCase4
bool isCase4() const
Definition: ApduRequest.cpp:59
keyple::core::seproxy::plugin::AbstractObservablePlugin::AbstractObservablePlugin
AbstractObservablePlugin(const std::string &name)
Definition: AbstractObservablePlugin.cpp:23
keyple::common::Object::Object
Object(const Object &o)
Definition: Object.h:31
keyple::core::seproxy::event::PluginEvent::getPluginName
const std::string & getPluginName() const
Definition: PluginEvent.cpp:89
keyple::core::seproxy::SeSelector::SeSelectorBuilder::SeSelector
friend SeSelector
Definition: SeSelector.h:423
SelectFileControl.h
keyple::core::seproxy::SeReader::isSePresent
virtual bool isSePresent()=0
keyple::calypso::transaction::SamResourceManager::ManagedSamResource::setSamResourceStatus
void setSamResourceStatus(const SamResourceStatus &samResourceStatus)
Definition: SamResourceManager.cpp:92
keyple::calypso::command::po::parser::GetDataTraceRespPars::GetDataTraceRespPars
GetDataTraceRespPars(std::shared_ptr< ApduResponse > response, GetDataTraceCmdBuild *builder)
Definition: GetDataTraceRespPars.cpp:57
keyple::core::seproxy::ProxyElement::getParameters
virtual const std::map< const std::string, const std::string > & getParameters() const =0
keyple::calypso::transaction::FileHeader::FileType::CYCLIC
@ CYCLIC
keyple::calypso::command::po::parser::security::VerifyPinRespPars::getRemainingAttemptCounter
int getRemainingAttemptCounter() const
Definition: VerifyPinRespPars.cpp:94
keyple::core::seproxy::protocol::SeCommonProtocols::SeCommonProtocol::getTransmissionMode
const TransmissionMode & getTransmissionMode() const override
Definition: SeCommonProtocols.cpp:118
keyple::common::exception::Exception::Exception
Exception(const std::string &message)
Definition: Exception.h:34
keyple::core::command::exception::KeypleSeCommandException::getCommand
const std::shared_ptr< SeCommand > getCommand() const
Definition: KeypleSeCommandException.h:42
keyple::common::exception::IllegalAccessException::IllegalAccessException
IllegalAccessException(const std::string &message, const std::exception cause)
Definition: IllegalAccessException.h:32
keyple::core::seproxy::SeSelector::AidSelector::operator<<
friend KEYPLECORE_API std::ostream & operator<<(std::ostream &os, const AidSelector &a)
keyple::common::Byte::finalize
void finalize() override
Definition: Byte.h:196
keyple::core::seproxy::protocol::SeCommonProtocols::PROTOCOL_ISO14443_4
static const std::shared_ptr< SeCommonProtocol > PROTOCOL_ISO14443_4
Definition: SeCommonProtocols.h:87
keyple::calypso::command::po::builder::storedvalue::SvGetCmdBuild::isSessionBufferUsed
bool isSessionBufferUsed() const override
Definition: SvGetCmdBuild.cpp:68
SelectFileCmdBuild.h
keyple::plugin::stub::StubReaderImpl::StubReaderImpl
StubReaderImpl(const std::string &pluginName, const std::string &readerName)
Definition: StubReaderImpl.cpp:63
keyple::calypso::command::sam::builder::security::GiveRandomCmdBuild::GiveRandomCmdBuild
GiveRandomCmdBuild(const SamRevision &revision, const std::vector< uint8_t > &random)
Definition: GiveRandomCmdBuild.cpp:32
keyple::calypso::command::po::exception::CalypsoPoTerminatedException
Definition: CalypsoPoTerminatedException.h:31
keyple::common::Thread::mAlive
int mAlive
Definition: Thread.h:255
CloseSessionRespPars.h
keyple::calypso::transaction::CalypsoPo
Definition: CalypsoPo.h:64
keyple::calypso::command::po::builder::security::VerifyPinCmdBuild
Definition: VerifyPinCmdBuild.h:37
Arrays.h
keyple::calypso::command::po::parser::security::AbstractOpenSessionRespPars::wasRatified
virtual bool wasRatified() const
Definition: AbstractOpenSessionRespPars.cpp:201
GetDataTraceRespPars.h
keyple::calypso::command::sam::parser::security::GiveRandomRespPars::GiveRandomRespPars
GiveRandomRespPars(const std::shared_ptr< ApduResponse > response, GiveRandomCmdBuild *builder)
Definition: GiveRandomRespPars.cpp:49
keyple::plugin::stub::StubPlugin::plugStubReader
virtual void plugStubReader(const std::string &name, bool synchronous)=0
keyple::common::exception::AssertionError
Definition: AssertionError.h:22
keyple::calypso::transaction::CalypsoPo::getApplicationSerialNumberBytes
const std::vector< uint8_t > getApplicationSerialNumberBytes() const
Definition: CalypsoPo.cpp:199
keyple::calypso::command::sam::exception::CalypsoSamCommandException::CalypsoSamCommandException
CalypsoSamCommandException(const std::string &message, const std::shared_ptr< CalypsoSamCommand > command, const int statusCode)
Definition: CalypsoSamCommandException.h:42
keyple::calypso::command::po::builder::storedvalue::SvUndebitCmdBuild::isSessionBufferUsed
bool isSessionBufferUsed() const override
Definition: SvUndebitCmdBuild.cpp:115
ConcurrentMap.h
keyple::plugin::pcsc::PcscReaderImpl::getATR
const std::vector< uint8_t > & getATR() override
Definition: PcscReaderImpl.cpp:419
keyple::core::seproxy::plugin::WaitForSeInsertion::onEvent
void onEvent(const InternalEvent event) override
Definition: WaitForSeInsertion.cpp:37
keyple::calypso::transaction::exception::CalypsoInconsistencyDataException::CalypsoInconsistencyDataException
CalypsoInconsistencyDataException(const std::string &message)
Definition: CalypsoInconsistencyDataException.h:36
keyple::calypso::command::po::parser::security::AbstractOpenSessionRespPars::SecureSession
Definition: AbstractOpenSessionRespPars.h:57
keyple::core::seproxy::SeSelector::AidSelector::builder
static std::unique_ptr< AidSelectorBuilder > builder()
Definition: SeSelector.cpp:262
keyple::calypso::command::po::parser::security::OpenSession10RespPars::createSecureSession
static std::shared_ptr< SecureSession > createSecureSession(const std::vector< uint8_t > &apduResponseData)
Definition: OpenSession10RespPars.cpp:57
keyple::core::seproxy::SeSelector::AidSelector::FileOccurrence::FileOccurrence
FileOccurrence(const uint8_t isoBitMask)
Definition: SeSelector.cpp:48
keyple::calypso::command::po::parser::UpdateRecordRespPars::UpdateRecordRespPars
UpdateRecordRespPars(std::shared_ptr< ApduResponse > response, UpdateRecordCmdBuild *builder)
Definition: UpdateRecordRespPars.cpp:96
keyple::common::exception::InstantiationException::InstantiationException
InstantiationException(const std::string &message)
Definition: InstantiationException.h:27
keyple::core::seproxy::event::PluginEvent::EventType::valueOf
static const EventType & valueOf(const std::string &name)
Definition: PluginEvent.cpp:52
keyple::core::seproxy::message::SelectionStatus::operator==
bool operator==(const SelectionStatus &o) const
Definition: SelectionStatus.cpp:49
keyple::calypso::command::sam::parser::security::StatusProperties
AbstractApduResponseParser::StatusProperties StatusProperties
Definition: CardCipherPinRespPars.cpp:39
keyple::core::seproxy::message::AnswerToReset
Definition: AnswerToReset.h:39
keyple::calypso::command::po::exception::CalypsoPoAccessForbiddenException::CalypsoPoAccessForbiddenException
CalypsoPoAccessForbiddenException(const std::string &message, const std::shared_ptr< CalypsoPoCommand > command, const int statusCode)
Definition: CalypsoPoAccessForbiddenException.h:38
keyple::common::Object::~Object
virtual ~Object()=default
keyple::core::seproxy::event::ObservableReader::NotificationMode::ALWAYS
static NotificationMode ALWAYS
Definition: ObservableReader.h:71
keyple::calypso::command::sam::builder::security::GiveRandomCmdBuild
Definition: GiveRandomCmdBuild.h:44
keyple::core::seproxy::plugin::SmartRemovalReader::stopWaitForCardRemoval
virtual void stopWaitForCardRemoval()
Definition: SmartRemovalReader.h:61
keyple::core::seproxy::exception::KeypleException::KeypleException
KeypleException(const std::string &msg, const std::exception &cause)
Definition: KeypleException.h:39
keyple::calypso::command::po::parser::storedvalue::SvDebitRespPars::getStatusTable
const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const override
Definition: SvDebitRespPars.cpp:91
WriteRecordRespPars.h
keyple::calypso::transaction::SamSelector::builder
static std::shared_ptr< SamSelectorBuilder > builder()
Definition: SamSelector.cpp:85
keyple::core::seproxy::message::AnswerToReset::operator==
bool operator==(const AnswerToReset &o) const
Definition: AnswerToReset.cpp:36
keyple::calypso::transaction::exception::CalypsoSamIOException
Definition: CalypsoSamIOException.h:28
CalypsoPoDataAccessException.h
keyple::calypso::command::sam::builder::security::SamReadCeilingsCmdBuild::MAX_CEILING_REC_NUMB
static const int MAX_CEILING_REC_NUMB
Definition: SamReadCeilingsCmdBuild.h:51
ChannelControl.h
CalypsoSamIncorrectInputDataException.h
keyple::plugin::stub::StubReaderImpl::waitForCardPresent
bool waitForCardPresent() override
Definition: StubReaderImpl.cpp:223
keyple::common::Boolean::valueOf
static Boolean valueOf(bool b)
Definition: Boolean.h:57
keyple::core::seproxy::plugin::WaitForStartDetect::WaitForStartDetect
WaitForStartDetect(AbstractObservableLocalReader *reader)
Definition: WaitForStartDetect.cpp:21
keyple::core::seproxy::plugin::WaitForSeProcessing
Definition: WaitForSeProcessing.h:43
keyple::common::exception::ClassNotFoundException::ClassNotFoundException
ClassNotFoundException(const std::string &message)
Definition: ClassNotFoundException.h:27
CalypsoSamSecurityDataException.h
keyple::plugin::stub::StubProtocolSetting::getSpecificSettings
static const std::map< std::shared_ptr< SeCommonProtocol >, std::string > getSpecificSettings(const std::set< std::shared_ptr< SeCommonProtocol >> &specificProtocols)
Definition: StubProtocolSetting.cpp:49
keyple::calypso::transaction::SamResourceManagerDefault::ReaderObserver::update
void update(const std::shared_ptr< ReaderEvent > event) override
Definition: SamResourceManagerDefault.cpp:364
keyple::calypso::command::PoClass::operator==
bool operator==(const PoClass &o) const
Definition: PoClass.cpp:48
keyple::calypso::command::sam::AbstractSamCommandBuilder::~AbstractSamCommandBuilder
virtual ~AbstractSamCommandBuilder()=default
ObservablePluginNotifier.h
keyple::common::Integer
Definition: Integer.h:27
keyple::core::seproxy::SeSelector::SeSelectorBuilder::build
virtual std::shared_ptr< SeSelector > build()
Definition: SeSelector.cpp:290
SelectionsResult.h
keyple::core::seproxy::plugin::AbstractObservablePlugin
Definition: AbstractObservablePlugin.h:37
keyple::core::seproxy::ReaderPoolPlugin::getReaderGroupReferences
virtual std::set< std::string > getReaderGroupReferences()=0
keyple::calypso::command::sam::parser::security::SvCheckRespPars
Definition: SvCheckRespPars.h:40
keyple::plugin::pcsc::PcscReader::SETTING_DISCONNECT_RESET
static const std::string SETTING_DISCONNECT_RESET
Definition: PcscReader.h:47
keyple::common::Cast
Definition: Cast.h:20
keyple::plugin::stub::StubSecureElement::getSeProcotol
virtual std::string getSeProcotol()=0
keyple::core::seproxy::SeSelector::AidSelector::FileOccurrence::FIRST
static const FileOccurrence FIRST
Definition: SeSelector.h:74
keyple::calypso::transaction::SamSelector::SamSelectorBuilder::unlockData
SamSelectorBuilder & unlockData(const std::vector< uint8_t > &unlockData)
Definition: SamSelector.cpp:119
keyple::core::selection::SelectionsResult::hasActiveSelection
bool hasActiveSelection() const
Definition: SelectionsResult.cpp:78
keyple::calypso::command::po::parser::security::OpenSession24RespPars::toSecureSession
std::shared_ptr< SecureSession > toSecureSession(const std::vector< uint8_t > &apduResponseData)
Definition: OpenSession24RespPars.cpp:50
WaitForSeProcessing.h
keyple::core::seproxy::plugin::AbstractObservablePlugin::addObserver
virtual void addObserver(const std::shared_ptr< ObservablePlugin::PluginObserver > observer) override
Definition: AbstractObservablePlugin.cpp:26
keyple::calypso::transaction::CalypsoPoUtils::PIN_LENGTH
static const int PIN_LENGTH
Definition: CalypsoPoUtils.h:128
keyple::core::seproxy::event::ReaderEvent::getPlugin
const std::shared_ptr< ReaderPlugin > getPlugin() const
Definition: ReaderEvent.cpp:112
keyple::calypso::command::po::parser::security::VerifyPinRespPars
Definition: VerifyPinRespPars.h:35
PcscPluginFactory.h
keyple::calypso::command::po::builder::DecreaseCmdBuild::getCounterNumber
int getCounterNumber() const
Definition: DecreaseCmdBuild.cpp:89
PluginEvent.h
keyple::calypso::command::sam::builder::security::SvPrepareLoadCmdBuild::createResponseParser
std::shared_ptr< SvPrepareOperationRespPars > createResponseParser(const std::shared_ptr< ApduResponse > apduResponse) override
Definition: SvPrepareLoadCmdBuild.cpp:53
keyple::calypso::command::po::builder::storedvalue::SvDebitCmdBuild::getSvDebitData
const std::vector< uint8_t > getSvDebitData() const
Definition: SvDebitCmdBuild.cpp:90
keyple::core::seproxy::exception::KeypleReaderIOException::KeypleReaderIOException
KeypleReaderIOException(const std::string &msg)
Definition: KeypleReaderIOException.h:46
keyple::common::LoggerFactory::mtx
static std::mutex mtx
Definition: LoggerFactory.h:34
keyple::calypso::command::po::parser::storedvalue::SvUndebitRespPars::getStatusTable
const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const override
Definition: SvUndebitRespPars.cpp:95
keyple::core::seproxy::SeSelectorBuilder
SeSelector::SeSelectorBuilder SeSelectorBuilder
Definition: SeSelector.cpp:39
keyple::core::seproxy::plugin::WaitForSeInsertion
Definition: WaitForSeInsertion.h:41
SvGetCmdBuild.h
keyple::calypso::transaction::SamSelectionRequest::SamSelectionRequest
SamSelectionRequest(std::shared_ptr< SamSelector > samSelector)
Definition: SamSelectionRequest.cpp:37
keyple::calypso::transaction::PoTransaction::processVerifyPin
void processVerifyPin(const std::vector< uint8_t > &pin)
Definition: PoTransaction.cpp:817
keyple::plugin::stub::StubPoolPluginFactory::getPluginName
const std::string & getPluginName() const override
Definition: StubPoolPluginFactory.cpp:35
keyple::core::seproxy::plugin::AbstractPlugin::getReader
const std::shared_ptr< SeReader > getReader(const std::string &name) final
Definition: AbstractPlugin.cpp:63
AbstractDefaultSelectionsResponse.h
keyple::calypso::transaction::CalypsoPoUtils::MASK_1_BYTE
static const int MASK_1_BYTE
Definition: CalypsoPoUtils.h:60
keyple::core::seproxy::event::PluginEvent::EventType::READER_CONNECTED
static const EventType READER_CONNECTED
Definition: PluginEvent.h:52
keyple::calypso::command::po::parser::security::OpenSession31RespPars
Definition: OpenSession31RespPars.h:37
keyple::calypso::transaction::PoSecuritySettings::getPinTransmissionMode
PinTransmissionMode getPinTransmissionMode() const
Definition: PoSecuritySettings.cpp:71
keyple::calypso::transaction::CalypsoPo::getRevision
PoRevision getRevision() const
Definition: CalypsoPo.cpp:179
keyple::calypso::command::po::builder::storedvalue::SvGetCmdBuild::SvGetCmdBuild
SvGetCmdBuild(const PoClass &poClass, const PoRevision &poRevision, const Operation svOperation)
Definition: SvGetCmdBuild.cpp:33
stringbuilder.h
keyple::calypso::command::po::builder::IncreaseCmdBuild::createResponseParser
std::shared_ptr< IncreaseRespPars > createResponseParser(std::shared_ptr< ApduResponse > apduResponse) override
Definition: IncreaseCmdBuild.cpp:74
keyple::calypso::command::PoClass
Definition: PoClass.h:28
keyple::calypso::command::po::exception::CalypsoPoAccessForbiddenException
Definition: CalypsoPoAccessForbiddenException.h:31
keyple::calypso::command::po::parser::storedvalue::SvDebitRespPars::getSignatureLo
const std::vector< uint8_t > getSignatureLo() const
Definition: SvDebitRespPars.cpp:86
keyple::calypso::command::po::parser::security::AbstractOpenSessionRespPars::getPoChallenge
virtual const std::vector< uint8_t > & getPoChallenge() const
Definition: AbstractOpenSessionRespPars.cpp:191
keyple::calypso::command::sam::parser::security::SamReadEventCounterRespPars::getStatusTable
const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const override
Definition: SamReadEventCounterRespPars.cpp:72
keyple::core::seproxy::protocol::SeCommonProtocols::PROTOCOL_B_PRIME
static const std::shared_ptr< SeCommonProtocol > PROTOCOL_B_PRIME
Definition: SeCommonProtocols.h:102
keyple::common::Pattern
Definition: Pattern.h:24
keyple::calypso::command::po::builder::WriteRecordCmdBuild::getSfi
uint8_t getSfi() const
Definition: WriteRecordCmdBuild.cpp:70
keyple::core::selection::AbstractSeSelectionRequest
Definition: AbstractSeSelectionRequest.h:57
keyple::common::exception::FileNotFoundException::FileNotFoundException
FileNotFoundException(const std::string &message, const std::exception cause)
Definition: FileNotFoundException.h:32
keyple::common::ConcurrentMap::size_type
std::map< K, V >::size_type size_type
Definition: ConcurrentMap.h:51
keyple::core::seproxy::plugin::AbstractThreadedObservablePlugin::clearObservers
void clearObservers() final
Definition: AbstractThreadedObservablePlugin.cpp:82
keyple::calypso::command::po::builder::UpdateRecordCmdBuild::createResponseParser
std::shared_ptr< UpdateRecordRespPars > createResponseParser(std::shared_ptr< ApduResponse > apduResponse) override
Definition: UpdateRecordCmdBuild.cpp:61
keyple::calypso::transaction::CalypsoPoUtils::MASK_4_BITS
static const int MASK_4_BITS
Definition: CalypsoPoUtils.h:57
keyple::common::StringBuilder::append
StringBuilder * append(const T &toAppend)
Definition: stringbuilder.h:47
keyple::calypso::command::po::CalypsoPoCommand::UPDATE_RECORD
static const CalypsoPoCommand UPDATE_RECORD
Definition: CalypsoPoCommand.h:58
keyple::calypso::transaction::SamResourceManagerDefault::allocateSamResource
std::shared_ptr< SeResource< CalypsoSam > > allocateSamResource(const AllocationMode allocationMode, const std::shared_ptr< SamIdentifier > samIdentifier) override
Definition: SamResourceManagerDefault.cpp:120
keyple::calypso::command::po::CalypsoPoCommand::OPEN_SESSION_31
static const CalypsoPoCommand OPEN_SESSION_31
Definition: CalypsoPoCommand.h:46
keyple::calypso::transaction::CalypsoPo::getPayloadCapacity
uint8_t getPayloadCapacity() const
Definition: CalypsoPo.cpp:228
keyple::calypso::command::po::AbstractPoCommandBuilder::isSessionBufferUsed
virtual bool isSessionBufferUsed() const =0
keyple::core::seproxy::event::ObservableReader::finalizeSeProcessing
virtual void finalizeSeProcessing()=0
InvalidateCmdBuild.h
keyple::common::exception::IndexOutOfBoundsException::IndexOutOfBoundsException
IndexOutOfBoundsException(const std::string &message)
Definition: IndexOutOfBoundsException.h:27
keyple::calypso::command::po::builder::ReadRecordsCmdBuild::ReadRecordsCmdBuild
ReadRecordsCmdBuild(const PoClass &poClass, const uint8_t sfi, const uint8_t firstRecordNumber, const ReadMode readMode, const uint8_t expectedLength)
Definition: ReadRecordsCmdBuild.cpp:38
keyple::calypso::command::sam::SamRevision::S1E
static const SamRevision S1E
Definition: SamRevision.h:43
keyple::calypso::command::po::builder::security::OpenSession31CmdBuild::getSfi
virtual uint8_t getSfi() const override
Definition: OpenSession31CmdBuild.cpp:74
keyple::core::seproxy::event::ObservableReader::countObservers
virtual int countObservers() const =0
keyple::core::seproxy::SeSelector::AtrFilter::~AtrFilter
virtual ~AtrFilter()
Definition: SeSelector.h:372
keyple::calypso::command::sam::parser::security::DigestAuthenticateRespPars::DigestAuthenticateRespPars
DigestAuthenticateRespPars(const std::shared_ptr< ApduResponse > response, DigestAuthenticateCmdBuild *builder)
Definition: DigestAuthenticateRespPars.cpp:62
keyple::calypso::command::sam::SamRevision::getApplicationTypeMask
const std::string & getApplicationTypeMask() const
Definition: SamRevision.cpp:46
keyple::calypso::transaction::CalypsoPoUtils::FILE_TYPE_DF
static const int FILE_TYPE_DF
Definition: CalypsoPoUtils.h:97
keyple::core::seproxy::event::ObservablePlugin::clearObservers
virtual void clearObservers()=0
keyple::calypso::command::po::builder::security::OpenSession32CmdBuild::getRecordNumber
virtual uint8_t getRecordNumber() const override
Definition: OpenSession32CmdBuild.cpp:88
keyple::calypso::command::po::builder::GetDataFciCmdBuild::createResponseParser
std::shared_ptr< GetDataFciRespPars > createResponseParser(std::shared_ptr< ApduResponse > apduResponse) override
Definition: GetDataFciCmdBuild.cpp:40
keyple::plugin::pcsc::PcscTerminalException
Definition: PcscTerminalException.h:24
keyple::calypso::transaction::exception::CalypsoAuthenticationNotVerifiedException
Definition: CalypsoAuthenticationNotVerifiedException.h:31
keyple::calypso::command::sam::builder::security::SamReadCeilingsCmdBuild
Definition: SamReadCeilingsCmdBuild.h:41
keyple::calypso::command::po::builder::GetDataTraceCmdBuild::GetDataTraceCmdBuild
GetDataTraceCmdBuild(const PoClass poClass)
Definition: GetDataTraceCmdBuild.cpp:28
keyple::common::exception::NameNotFoundException
Definition: NameNotFoundException.h:22
keyple::calypso::command::po::builder::security::RehabilitateCmdBuild
Definition: RehabilitateCmdBuild.h:42
keyple::core::selection::AbstractMatchingSe::getTransmissionMode
virtual const TransmissionMode & getTransmissionMode() const
Definition: AbstractMatchingSe.cpp:84
keyple::calypso::command::po::builder::SelectFileCmdBuild::isSessionBufferUsed
bool isSessionBufferUsed() const override
Definition: SelectFileCmdBuild.cpp:101
keyple::core::command::AbstractApduResponseParser::getBuilder
virtual AbstractApduCommandBuilder * getBuilder() const
Definition: AbstractApduResponseParser.cpp:125
keyple::common::Logger::Level::logDebug
@ logDebug
keyple::core::util::ByteArrayUtil
Definition: ByteArrayUtil.h:37
keyple::core::selection::SeResource::getMatchingSe
virtual const std::shared_ptr< T > getMatchingSe() const
Definition: SeResource.h:67
keyple::core::seproxy::plugin::ExecutorService::~ExecutorService
~ExecutorService()
Definition: ExecutorService.cpp:30
keyple::core::seproxy::protocol::SeCommonProtocols::PROTOCOL_ISO14443_3B
static const std::shared_ptr< SeCommonProtocol > PROTOCOL_ISO14443_3B
Definition: SeCommonProtocols.h:92
keyple::core::seproxy::exception::KeypleReaderIOException::setSeResponses
void setSeResponses(const std::vector< std::shared_ptr< SeResponse >> &seResponses)
Definition: KeypleReaderIOException.h:68
keyple::core::seproxy::event::ObservableReader::startSeDetection
virtual void startSeDetection(const PollingMode pollingMode)=0
keyple::calypso::transaction::SamIdentifier::SamIdentifierBuilder
Definition: SamIdentifier.h:44
keyple::calypso::command::po::parser::storedvalue::SvGetRespPars::getStatusTable
const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const override
Definition: SvGetRespPars.cpp:165
SvPrepareUndebitCmdBuild.h
keyple::plugin::pcsc::PcscTerminal::closeAndDisconnect
void closeAndDisconnect(bool reset)
Definition: PcscTerminal.cpp:240
keyple::calypso::command::sam::builder::security::UnlockCmdBuild
Definition: UnlockCmdBuild.h:42
keyple::calypso::transaction::SamSelector::SamSelectorBuilder::atrFilter
SamSelectorBuilder & atrFilter(const std::shared_ptr< AtrFilter > atrFilter) override
Definition: SamSelector.cpp:136
keyple::calypso::command::sam::parser::security::SamGetChallengeRespPars
Definition: SamGetChallengeRespPars.h:41
keyple::calypso::command::po::parser::GetDataFciRespPars::GetDataFciRespPars
GetDataFciRespPars(std::shared_ptr< ApduResponse > response, GetDataFciCmdBuild *builder)
Definition: GetDataFciRespPars.cpp:95
keyple::calypso::command::sam::parser::security::SelectDiversifierRespPars::SelectDiversifierRespPars
SelectDiversifierRespPars(const std::shared_ptr< ApduResponse > response, SelectDiversifierCmdBuild *builder)
Definition: SelectDiversifierRespPars.cpp:55
keyple::common::exception::NumberFormatException::NumberFormatException
NumberFormatException(const std::string &message)
Definition: NumberFormatException.h:32
keyple::core::seproxy::SeSelector::SeSelector
SeSelector(const SeSelector &o)=default
keyple::common::LoggerFactory
Definition: LoggerFactory.h:29
SamCommandProcessor.h
keyple::calypso::exception::CalypsoNoSamResourceAvailableException::CalypsoNoSamResourceAvailableException
CalypsoNoSamResourceAvailableException(const std::string &message)
Definition: CalypsoNoSamResourceAvailableException.h:37
keyple::core::seproxy::message::ProxyReader::~ProxyReader
virtual ~ProxyReader()
Definition: ProxyReader.h:51
keyple::calypso::command::po::builder::security::OpenSession32CmdBuild::getSfi
virtual uint8_t getSfi() const override
Definition: OpenSession32CmdBuild.cpp:83
keyple::calypso::transaction::PoSecuritySettings::PoSecuritySettingsBuilder::mSvGetLogReadMode
LogRead mSvGetLogReadMode
Definition: PoSecuritySettings.h:95
keyple::calypso::transaction::AbstractSamCommandResponse
AbstractSamCommandBuilder< AbstractSamResponseParser > AbstractSamCommandResponse
Definition: SamCommandProcessor.cpp:64
keyple::core::seproxy::plugin::WaitForSeInsertion::WaitForSeInsertion
WaitForSeInsertion(AbstractObservableLocalReader *reader)
Definition: WaitForSeInsertion.cpp:25
keyple::core::seproxy::plugin::AbstractObservablePlugin::countObservers
virtual int countObservers() const final
Definition: AbstractObservablePlugin.cpp:57
keyple::calypso::command::po::builder::security::OpenSession32CmdBuild
Definition: OpenSession32CmdBuild.h:41
keyple::calypso::command::po::builder::UpdateRecordCmdBuild::isSessionBufferUsed
bool isSessionBufferUsed() const override
Definition: UpdateRecordCmdBuild.cpp:67
keyple::core::seproxy::message::SeRequest::SeRequest
SeRequest(const std::shared_ptr< SeSelector > seSelector, const std::vector< std::shared_ptr< ApduRequest >> &apduRequests)
Definition: SeRequest.cpp:29
keyple::plugin::pcsc::PcscTerminal::beginExclusive
void beginExclusive()
Definition: PcscTerminal.cpp:357
keyple::core::util::bertlv::TLV::getValue
const std::vector< uint8_t > getValue()
Definition: TLV.cpp:83
keyple::plugin::pcsc::PcscReader::SETTING_PROTOCOL_T1
static const std::string SETTING_PROTOCOL_T1
Definition: PcscReader.h:40
keyple::calypso::transaction::SvLoadLogRecord::toString
const std::string toString() const
Definition: SvLoadLogRecord.cpp:136
keyple::core::seproxy::protocol::SeCommonProtocols::PROTOCOL_MIFARE_CLASSIC
static const std::shared_ptr< SeCommonProtocol > PROTOCOL_MIFARE_CLASSIC
Definition: SeCommonProtocols.h:98
keyple::calypso::KeyReference
Definition: KeyReference.h:27
keyple::calypso::transaction::DirectoryHeader::operator==
bool operator==(const DirectoryHeader &o) const
Definition: DirectoryHeader.cpp:139
keyple::core::selection::SeSelection::prepareReleaseSeChannel
void prepareReleaseSeChannel()
Definition: SeSelection.cpp:57
keyple::plugin::stub::StubPluginImpl::fetchNativeReadersNames
const std::set< std::string > & fetchNativeReadersNames() override
Definition: StubPluginImpl.cpp:160
keyple::core::seproxy::protocol::SeCommonProtocols::PROTOCOL_NFC_BARCODE
static const std::shared_ptr< SeCommonProtocol > PROTOCOL_NFC_BARCODE
Definition: SeCommonProtocols.h:96
keyple::core::selection::AbstractSeSelectionRequest::getSeSelector
virtual std::shared_ptr< SeSelector > getSeSelector()
Definition: AbstractSeSelectionRequest.h:102
CalypsoAtomicTransactionException.h
GetDataFciCmdBuild.h
ByteArrayUtil.h
keyple::calypso::transaction::CalypsoPoUtils::SFI_MAX
static const int SFI_MAX
Definition: CalypsoPoUtils.h:68
keyple::core::command::SeCommand::~SeCommand
virtual ~SeCommand()=default
keyple::core::seproxy::plugin::AbstractObservableState::switchState
void switchState(MonitoringState stateId)
Definition: AbstractObservableState.cpp:50
SeSelection.h
keyple::calypso::transaction::PoSecuritySettings::PoSecuritySettingsBuilder::svNegativeBalance
PoSecuritySettingsBuilder & svNegativeBalance(const NegativeBalance svNegativeBalance)
Definition: PoSecuritySettings.cpp:207
keyple::calypso::command::sam::CalypsoSamCommand::CARD_GENERATE_KEY
static const CalypsoSamCommand CARD_GENERATE_KEY
Definition: CalypsoSamCommand.h:73
keyple::core::seproxy::message::SelectionStatus::hasMatched
bool hasMatched() const
Definition: SelectionStatus.cpp:44
KeypleStd.h
keyple::common::StringBuilder::insert
StringBuilder * insert(std::size_t position, const std::string &toInsert)
Definition: stringbuilder.h:53
keyple::calypso::transaction::SvLoadLogRecord::getSvTNumBytes
const std::vector< uint8_t > getSvTNumBytes() const
Definition: SvLoadLogRecord.cpp:114
keyple::core::seproxy::plugin::AbstractLocalReader::protocolFlagMatches
virtual bool protocolFlagMatches(const std::shared_ptr< SeProtocol > protocolFlag)=0
keyple::core::seproxy::AtrFilter
SeSelector::AtrFilter AtrFilter
Definition: SeSelector.cpp:38
keyple::calypso::transaction::exception::CalypsoPoIOException::CalypsoPoIOException
CalypsoPoIOException(const std::string &message)
Definition: CalypsoPoIOException.h:31
keyple::calypso::transaction::CalypsoPoUtils::LE_MAX
static const int LE_MAX
Definition: CalypsoPoUtils.h:91
keyple::plugin::stub::StubPlugin::plugStubReaders
virtual void plugStubReaders(const std::set< std::string > &names, bool synchronous)=0
keyple::calypso::command::sam::builder::security::DigestAuthenticateCmdBuild
Definition: DigestAuthenticateCmdBuild.h:43
keyple::calypso::transaction::CalypsoSam::getSoftwareIssuer
uint8_t getSoftwareIssuer() const
Definition: CalypsoSam.cpp:131
keyple::core::seproxy::event::PluginEvent::EventType::getName
const std::string & getName() const
Definition: PluginEvent.cpp:37
keyple::common::Byte::operator<<
friend std::ostream & operator<<(std::ostream &os, const Byte &b)
Definition: Byte.h:211
keyple::calypso::command::sam::parser::security::DigestAuthenticateRespPars
Definition: DigestAuthenticateRespPars.h:44
KeypleAllocationReaderException.h
keyple::calypso::transaction::exception::CalypsoDesynchronizedExchangesException::CalypsoDesynchronizedExchangesException
CalypsoDesynchronizedExchangesException(const std::string &message)
Definition: CalypsoDesynchronizedExchangesException.h:33
keyple::calypso::transaction::SamResourceManagerPool::freeSamResource
void freeSamResource(const SeResource< CalypsoSam > &samResource) override
Definition: SamResourceManagerPool.cpp:133
keyple::calypso::command::sam::builder::security::SamReadEventCounterCmdBuild::SamReadEventCounterCmdBuild
SamReadEventCounterCmdBuild(const SamRevision &revision, const SamEventCounterOperationType operationType, const uint8_t index)
Definition: SamReadEventCounterCmdBuild.cpp:33
keyple::core::seproxy::plugin::AbstractObservableLocalReader::setDefaultSelectionRequest
void setDefaultSelectionRequest(std::shared_ptr< AbstractDefaultSelectionsRequest > defaultSelectionsRequest, const ObservableReader::NotificationMode &notificationMode) final
Definition: AbstractObservableLocalReader.cpp:64
keyple::plugin::stub::StubSecureElement::removeHexCommand
virtual void removeHexCommand(const std::string &command)
Definition: StubSecureElement.cpp:57
keyple::common::exception::IllegalStateException::IllegalStateException
IllegalStateException(const std::string &message)
Definition: IllegalStateException.h:27
keyple::calypso::transaction::SamCommandProcessor::pushPoExchangeDataList
void pushPoExchangeDataList(const std::vector< std::shared_ptr< ApduRequest >> &requests, const std::vector< std::shared_ptr< ApduResponse >> &responses, const int startIndex)
Definition: SamCommandProcessor.cpp:248
keyple::calypso::transaction::SamIdentifier::getSerialNumber
const std::string & getSerialNumber() const
Definition: SamIdentifier.cpp:45
keyple::calypso::command::sam::builder::security::DigestUpdateCmdBuild
Definition: DigestUpdateCmdBuild.h:45
keyple::calypso::command::po::builder::security::OpenSession10CmdBuild::getSfi
virtual uint8_t getSfi() const override
Definition: OpenSession10CmdBuild.cpp:85
keyple::calypso::command::sam::parser::security::SamReadEventCounterRespPars::getCounterData
const std::vector< uint8_t > getCounterData() const
Definition: SamReadEventCounterRespPars.cpp:77
keyple::core::seproxy::event::ObservableReader::setDefaultSelectionRequest
virtual void setDefaultSelectionRequest(std::shared_ptr< AbstractDefaultSelectionsRequest >defaultSelectionsRequest, const NotificationMode &notificationMode, const PollingMode pollingMode)=0
keyple::common::Matcher::group
const std::string group() const
Definition: Matcher.cpp:99
Character.h
keyple::calypso::command::sam::parser::security::CardGenerateKeyRespPars::CardGenerateKeyRespPars
CardGenerateKeyRespPars(const std::shared_ptr< ApduResponse > response, CardGenerateKeyCmdBuild *builder)
Definition: CardGenerateKeyRespPars.cpp:74
keyple::common::Matcher
Definition: Matcher.h:27
keyple::calypso::transaction::PoTransaction::SessionSetting::AccessLevel::SESSION_LVL_NONE
static const AccessLevel SESSION_LVL_NONE
Definition: PoTransaction.h:189
keyple::calypso::transaction::CalypsoPoUtils::getSvOperationSignature
static const std::vector< uint8_t > getSvOperationSignature()
Definition: CalypsoPoUtils.cpp:655
keyple::core::seproxy::event::ReaderEvent::getReaderName
const std::string & getReaderName() const
Definition: ReaderEvent.cpp:102
keyple::core::seproxy::event::ObservableReader::NotificationMode::operator!=
bool operator!=(const NotificationMode &other)
Definition: ObservableReader.cpp:73
keyple::core::seproxy::event::ObservableReader::NotificationMode::name
std::string name
Definition: ObservableReader.h:168
keyple::common::Character
Definition: Character.h:20
keyple::common::StringBuilder::replace
StringBuilder * replace(std::size_t start, std::size_t end, const std::string &newString)
Definition: stringbuilder.h:97
keyple::calypso::transaction::CalypsoSam::getSerialNumber
const std::vector< uint8_t > & getSerialNumber() const
Definition: CalypsoSam.cpp:111
keyple::common::BerDecoder::peekByte
int peekByte()
Definition: BerDecoder.h:70
keyple::core::seproxy::event::ReaderEvent::EventType::operator!=
bool operator!=(const EventType &other) const
keyple::plugin::pcsc::PcscTerminal::isCardPresent
bool isCardPresent(bool release)
Definition: PcscTerminal.cpp:133
keyple::calypso::command::sam::parser::security::DigestCloseRespPars::DigestCloseRespPars
DigestCloseRespPars(const std::shared_ptr< ApduResponse > response, DigestCloseCmdBuild *builder)
Definition: DigestCloseRespPars.cpp:49
keyple::calypso::command::po::AbstractPoResponseParser::getBuilder
virtual AbstractPoCommandBuilder< AbstractPoResponseParser > * getBuilder() const override
Definition: AbstractPoResponseParser.cpp:52
keyple::calypso::transaction::FileHeader::FileType::COUNTERS
@ COUNTERS
keyple::core::seproxy::plugin::AbstractMonitoringJob::mRunning
std::atomic< bool > mRunning
Definition: AbstractMonitoringJob.h:82
keyple::calypso::command::po::parser::security::AbstractOpenSessionRespPars::mSecureSession
std::shared_ptr< SecureSession > mSecureSession
Definition: AbstractOpenSessionRespPars.h:224
keyple::core::seproxy::exception::KeyplePluginException::KeyplePluginException
KeyplePluginException(const std::string &msg, const std::exception &cause)
Definition: KeyplePluginException.h:40
keyple::calypso::transaction::PoSelector::builder
static std::shared_ptr< PoSelectorBuilder > builder()
Definition: PoSelector.cpp:40
keyple::core::command::AbstractApduResponseParser::mResponse
std::shared_ptr< ApduResponse > mResponse
Definition: AbstractApduResponseParser.h:159
keyple::calypso::command::po::parser::GetDataFciRespPars::getDiscretionaryData
const std::vector< uint8_t > & getDiscretionaryData() const
Definition: GetDataFciRespPars.cpp:193
keyple::calypso::command::sam::builder::security::SamReadCeilingsCmdBuild::CeilingsOperationType
CeilingsOperationType
Definition: SamReadCeilingsCmdBuild.h:56
keyple::common::Thread::setDaemon
void setDaemon(bool on)
Definition: Thread.h:156
keyple::calypso::transaction::SamResourceManagerFactory::instantiate
static std::shared_ptr< SamResourceManager > instantiate(const std::shared_ptr< ReaderPlugin > readerPlugin, const std::string &samReaderFilter, const int maxBlockingTime, const int sleepTime)
Definition: SamResourceManagerFactory.cpp:24
keyple::calypso::transaction::CalypsoPoUtils::SEL_DF_STATUS_OFFSET
static const int SEL_DF_STATUS_OFFSET
Definition: CalypsoPoUtils.h:122
keyple::common::Integer::parseInt
static int parseInt(const std::string &str, const int radix)
Definition: Integer.h:116
keyple::calypso::transaction::DirectoryHeader::getKeyIndexes
const std::vector< uint8_t > & getKeyIndexes() const
Definition: DirectoryHeader.cpp:100
keyple::calypso::transaction::SvLoadLogRecord::getFreeByteBytes
const std::vector< uint8_t > getFreeByteBytes() const
Definition: SvLoadLogRecord.cpp:82
keyple::calypso::command::sam::exception::CalypsoSamIncorrectInputDataException::CalypsoSamIncorrectInputDataException
CalypsoSamIncorrectInputDataException(const std::string &message, const std::shared_ptr< CalypsoSamCommand > command, const int statusCode)
Definition: CalypsoSamIncorrectInputDataException.h:39
keyple::core::seproxy::SeSelector::AidSelector::AidSelectorBuilder::fileControlInformation
AidSelectorBuilder & fileControlInformation(const FileControlInformation &fileControlInformation)
Definition: SeSelector.cpp:248
keyple::calypso::command::sam::parser::security::DigestAuthenticateRespPars::getStatusTable
const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const override
Definition: DigestAuthenticateRespPars.cpp:71
keyple::calypso::transaction::CalypsoPoUtils::updateCalypsoPo
static std::shared_ptr< AbstractPoResponseParser > updateCalypsoPo(std::shared_ptr< CalypsoPo > calypsoPo, std::shared_ptr< AbstractPoCommandBuilder< AbstractPoResponseParser >> commandBuilder, const std::shared_ptr< ApduResponse > apduResponse)
Definition: CalypsoPoUtils.cpp:487
keyple::plugin::stub::StubReaderImpl::waitForCardAbsentNative
bool waitForCardAbsentNative() override
Definition: StubReaderImpl.cpp:252
keyple::core::seproxy::SeProxyService::getPlugin
std::shared_ptr< ReaderPlugin > getPlugin(const std::string &name)
Definition: SeProxyService.cpp:81
keyple::core::util::bertlv::Tag::TagClass::CONTEXT
@ CONTEXT
keyple::calypso::transaction
Definition: CalypsoPo.cpp:36
keyple::calypso::command::sam::builder::security::DigestUpdateMultipleCmdBuild::DigestUpdateMultipleCmdBuild
DigestUpdateMultipleCmdBuild(const SamRevision revision, const bool encryptedSession, const std::vector< uint8_t > &digestData)
Definition: DigestUpdateMultipleCmdBuild.cpp:32
keyple::calypso::command::sam::exception::CalypsoSamDataAccessException::CalypsoSamDataAccessException
CalypsoSamDataAccessException(const std::string &message, const std::shared_ptr< CalypsoSamCommand > command, const int statusCode)
Definition: CalypsoSamDataAccessException.h:40
keyple::core::seproxy::exception::KeypleAllocationNoReaderException
Definition: KeypleAllocationNoReaderException.h:28
keyple::calypso::command::po::builder::GetDataFciCmdBuild::isSessionBufferUsed
bool isSessionBufferUsed() const override
Definition: GetDataFciCmdBuild.cpp:46
keyple::calypso::transaction::PoTransaction::prepareInvalidate
void prepareInvalidate()
Definition: PoTransaction.cpp:1360
keyple::calypso::transaction::PoSecuritySettings::PoSecuritySettingsBuilder::PoSecuritySettings
friend PoSecuritySettings
Definition: PoSecuritySettings.h:69
keyple::core::seproxy::SeSelector::getExtraInfo
const std::string & getExtraInfo() const
keyple::calypso::transaction::PoSecuritySettings::getSessionDefaultKif
uint8_t getSessionDefaultKif(const AccessLevel &sessionAccessLevel) const
Definition: PoSecuritySettings.cpp:76
keyple::calypso::transaction::PoSecuritySettings::PoSecuritySettingsBuilder::mSvNegativeBalance
NegativeBalance mSvNegativeBalance
Definition: PoSecuritySettings.h:100
keyple::calypso::transaction::FileData::getAllRecordsContent
const std::map< int, std::vector< uint8_t > > & getAllRecordsContent() const
Definition: FileData.cpp:40
keyple::calypso::transaction::exception::CalypsoPoAnomalyException
Definition: CalypsoPoAnomalyException.h:31
keyple::core::seproxy::event::PluginEvent::operator<<
friend KEYPLECORE_API std::ostream & operator<<(std::ostream &os, const PluginEvent &pe)
Definition: PluginEvent.cpp:104
keyple::core::seproxy::plugin::AbstractThreadedObservablePlugin::fetchNativeReader
virtual std::shared_ptr< SeReader > fetchNativeReader(const std::string &name)=0
keyple::calypso::command::po::parser::storedvalue::SvReloadRespPars::getSignatureLo
const std::vector< uint8_t > getSignatureLo() const
Definition: SvReloadRespPars.cpp:100
keyple::core::seproxy::SeSelector::SeSelectorBuilder::aidSelector
virtual SeSelectorBuilder & aidSelector(const std::shared_ptr< AidSelector > aidSelector)
Definition: SeSelector.cpp:283
keyple::calypso::transaction::CalypsoSam::getApplicationSubType
uint8_t getApplicationSubType() const
Definition: CalypsoSam.cpp:126
keyple::calypso::command::sam::parser::security::CardCipherPinRespPars::CardCipherPinRespPars
CardCipherPinRespPars(const std::shared_ptr< ApduResponse > response, CardCipherPinCmdBuild *builder)
Definition: CardCipherPinRespPars.cpp:73
keyple::core::seproxy::protocol::SeCommonProtocols::SeCommonProtocol
Definition: SeCommonProtocols.h:35
CountDownLatch::m_mutex
std::mutex m_mutex
Definition: CountDownLatch.h:63
keyple::calypso::command::sam::AbstractSamCommandBuilder< CardCipherPinRespPars >::mDefaultRevision
SamRevision mDefaultRevision
Definition: AbstractSamCommandBuilder.h:98
keyple::plugin::stub::StubPoolPluginImpl::mAllocatedReader
std::map< const std::string, const std::string > mAllocatedReader
Definition: StubPoolPluginImpl.h:56
keyple::calypso::command::po::builder::security::OpenSession24CmdBuild::getRecordNumber
virtual uint8_t getRecordNumber() const override
Definition: OpenSession24CmdBuild.cpp:91
keyple::core::seproxy::exception::KeypleReaderException::KeypleReaderException
KeypleReaderException(const std::string &msg, const std::exception &cause)
Definition: KeypleReaderException.h:50
keyple::calypso::command::po::exception::CalypsoPoUnknownStatusException
Definition: CalypsoPoUnknownStatusException.h:30
keyple::core::seproxy::plugin::AbstractThreadedObservablePlugin
Definition: AbstractThreadedObservablePlugin.h:44
keyple::calypso::command::sam::SamRevision::getName
const std::string & getName() const
Definition: SamRevision.cpp:41
keyple::core::seproxy::event::ObservableReader::NotificationMode::MATCHED_ONLY
static NotificationMode MATCHED_ONLY
Definition: ObservableReader.h:78
keyple::core::selection::SelectionsResult
Definition: SelectionsResult.h:40
keyple::core::util::bertlv::Tag::getTagNumber
int getTagNumber() const
Definition: Tag.cpp:66
keyple::core::seproxy::plugin::ObservableReaderStateService::getCurrentMonitoringState
const MonitoringState & getCurrentMonitoringState() const
Definition: ObservableReaderStateService.cpp:69
keyple::calypso::command::po::parser::IncreaseRespPars::getStatusTable
const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const override
Definition: IncreaseRespPars.cpp:114
keyple::core::seproxy::message::AnswerToReset::AnswerToReset
AnswerToReset(const std::vector< uint8_t > &atrBytes)
Definition: AnswerToReset.cpp:26
keyple::calypso::command::po::parser::GetDataTraceRespPars::getStatusTable
const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const override
Definition: GetDataTraceRespPars.cpp:65
keyple::common::StringBuilder::StringBuilder
StringBuilder()
Definition: stringbuilder.h:27
keyple::core::command::AbstractApduCommandBuilder::addSubName
virtual void addSubName(const std::string &subName)
Definition: AbstractApduCommandBuilder.cpp:45
keyple::calypso::transaction::PoSecuritySettings::PoSecuritySettingsBuilder::PoSecuritySettingsBuilder
PoSecuritySettingsBuilder(std::shared_ptr< SeResource< CalypsoSam >> samResource)
Definition: PoSecuritySettings.cpp:133
keyple::calypso::transaction::exception::CalypsoUnauthorizedKvcException
Definition: CalypsoUnauthorizedKvcException.h:29
keyple::core::seproxy::plugin::WaitForStartDetect::onEvent
void onEvent(const InternalEvent event) override
Definition: WaitForStartDetect.cpp:33
keyple::core::seproxy::plugin::AbstractThreadedObservablePlugin::removeObserver
void removeObserver(const std::shared_ptr< ObservablePlugin::PluginObserver > observer) final
Definition: AbstractThreadedObservablePlugin.cpp:69
keyple::core::seproxy::message::equals
bool equals(std::shared_ptr< void > o)
Definition: ApduRequest.cpp:84
keyple::core::selection::SeResource::SeResource
SeResource(std::shared_ptr< SeReader > seReader, std::shared_ptr< T > matchingSe)
Definition: SeResource.h:43
keyple::calypso::transaction::SamResourceManagerFactory
Definition: SamResourceManagerFactory.h:35
keyple::plugin::stub::StubReaderImpl::mExecutorService
std::shared_ptr< ExecutorService > mExecutorService
Definition: StubReaderImpl.h:157
keyple::core::seproxy::plugin::ExecutorService::ExecutorService
ExecutorService()
Definition: ExecutorService.cpp:25
keyple::core::seproxy::exception::KeypleException
Definition: KeypleException.h:29
keyple::common::Properties::Properties
Properties()
Definition: Properties.cpp:25
keyple::calypso::command::po::builder::storedvalue::SvUndebitCmdBuild::SvUndebitCmdBuild
SvUndebitCmdBuild(const PoClass &poClass, const PoRevision &poRevision, const int amount, const uint8_t kvc, const std::vector< uint8_t > &date, const std::vector< uint8_t > &time)
Definition: SvUndebitCmdBuild.cpp:33
keyple::plugin::stub::StubPluginImpl::plugStubReaders
void plugStubReaders(const std::set< std::string > &readerNames, const bool synchronous) override
Definition: StubPluginImpl.cpp:78
keyple::calypso::command::po::builder::security::CloseSessionCmdBuild::CloseSessionCmdBuild
CloseSessionCmdBuild(const PoClass &poClass, const bool ratificationAsked, const std::vector< uint8_t > &terminalSessionSignature)
Definition: CloseSessionCmdBuild.cpp:37
ChangeKeyCmdBuild.h
keyple::core::seproxy::exception::KeypleException::KeypleException
KeypleException(const std::string &msg)
Definition: KeypleException.h:34
keyple::calypso::transaction::PoTransaction::SvSettings::Operation::NONE
@ NONE
keyple::common::ConcurrentMap::erase
iterator erase(const_iterator position)
Definition: ConcurrentMap.h:125
keyple::calypso::transaction::SvLoadLogRecord::getKvc
uint8_t getKvc() const
Definition: SvLoadLogRecord.cpp:91
keyple::calypso::transaction::CalypsoPo::isPinBlocked
bool isPinBlocked() const
Definition: CalypsoPo.cpp:551
ClassNotFoundException.h
keyple::calypso::command::po::builder::storedvalue::SvDebitCmdBuild
Definition: SvDebitCmdBuild.h:42
keyple::core::util::KeypleAssert::notEmpty
const KeypleAssert & notEmpty(const std::string &obj, const std::string &name) const
Definition: KeypleAssert.cpp:43
keyple::calypso::command::po::parser::security::AbstractOpenSessionRespPars::SecureSession::isManageSecureSessionAuthorized
virtual bool isManageSecureSessionAuthorized() const
Definition: AbstractOpenSessionRespPars.cpp:295
keyple::calypso::command::po::AbstractPoResponseParser::AbstractPoResponseParser
AbstractPoResponseParser(std::shared_ptr< ApduResponse > response, AbstractPoCommandBuilder< AbstractPoResponseParser > *builder)
Definition: AbstractPoResponseParser.cpp:46
keyple::calypso::command::po::parser::security::CloseSessionRespPars::CloseSessionRespPars
CloseSessionRespPars(std::shared_ptr< ApduResponse > response, CloseSessionCmdBuild *builder)
Definition: CloseSessionRespPars.cpp:76
keyple::calypso::command::po::parser::security::InvalidateRespPars::InvalidateRespPars
InvalidateRespPars(std::shared_ptr< ApduResponse > response, InvalidateCmdBuild *builder)
Definition: InvalidateRespPars.cpp:58
keyple::core::command::AbstractApduResponseParser::StatusProperties::isSuccessful
bool isSuccessful() const
Definition: AbstractApduResponseParser.cpp:150
keyple::core::seproxy::SeProxyService::getInstance
static SeProxyService & getInstance()
Definition: SeProxyService.h:46
keyple::core::seproxy::event::ReaderEvent::EventType::SE_REMOVED
static const EventType SE_REMOVED
Definition: ReaderEvent.h:68
keyple::core::command::exception::KeypleSeCommandException::KeypleSeCommandException
KeypleSeCommandException(const std::string &message, const std::shared_ptr< SeCommand > command, const int statusCode)
Definition: KeypleSeCommandException.h:61
CalypsoUnauthorizedKvcException.h
keyple::calypso::command::po::builder::ReadRecordsCmdBuild::getReadMode
ReadMode getReadMode() const
Definition: ReadRecordsCmdBuild.cpp:88
IllegalAccessException.h
keyple::core::seproxy::plugin::AbstractObservableState::getMonitoringState
const MonitoringState & getMonitoringState() const
Definition: AbstractObservableState.cpp:45
keyple::calypso::command::po::parser::security::OpenSession32RespPars::createSecureSession
static std::shared_ptr< SecureSession > createSecureSession(const std::vector< uint8_t > &apduResponse)
Definition: OpenSession32RespPars.cpp:51
keyple::calypso::transaction::PoSecuritySettings::mDefaultPinTransmissionMode
static const PinTransmissionMode mDefaultPinTransmissionMode
Definition: PoSecuritySettings.h:59
keyple::common::exception::Error::Error
Error(const std::string &msg)
Definition: Error.h:33
keyple::calypso::command::PoClass::LEGACY
static const PoClass LEGACY
Definition: PoClass.h:33
keyple::calypso::transaction::SamResourceManager::ManagedSamResource::SamResourceStatus::BUSY
@ BUSY
keyple::core::seproxy::plugin::AbstractObservableState::AbstractObservableState
AbstractObservableState(MonitoringState state, AbstractObservableLocalReader *reader, std::shared_ptr< AbstractMonitoringJob > monitoringJob, std::shared_ptr< ExecutorService > executorService)
Definition: AbstractObservableState.cpp:29
keyple::core::seproxy::plugin::ObservableReaderStateService::onEvent
void onEvent(const InternalEvent event)
Definition: ObservableReaderStateService.cpp:31
keyple::common::Thread::setThread
void setThread(std::thread *t)
Definition: Thread.h:247
keyple::plugin::stub::StubPoolPluginImpl::listAllocatedReaders
const std::map< const std::string, const std::string > & listAllocatedReaders()
Definition: StubPoolPluginImpl.cpp:166
keyple::core::util::ByteArrayUtil::fourBytesToInt
static int fourBytesToInt(const std::vector< uint8_t > &bytes, const int offset)
Definition: ByteArrayUtil.cpp:144
keyple::core::command::AbstractApduResponseParser::getApduResponse
const std::shared_ptr< ApduResponse > getApduResponse() const
Definition: AbstractApduResponseParser.cpp:58
keyple::common::Byte::hashCode
static int hashCode(unsigned char value)
Definition: Byte.h:151
keyple::calypso::transaction::CalypsoPoUtils::SV_RELOAD_LOG_FILE_SFI
static const uint8_t SV_RELOAD_LOG_FILE_SFI
Definition: CalypsoPoUtils.h:131
keyple::core::command::AbstractApduCommandBuilder::mCommandRef
const std::shared_ptr< SeCommand > mCommandRef
Definition: AbstractApduCommandBuilder.h:98
keyple::core::seproxy::SeSelector::AidSelector::FileOccurrence::operator=
FileOccurrence & operator=(const FileOccurrence &o)
Definition: SeSelector.cpp:67
keyple::plugin::stub::StubReaderImpl::checkSePresence
bool checkSePresence() override
Definition: StubReaderImpl.cpp:168
keyple::calypso::transaction::exception::CalypsoDesynchronizedExchangesException
Definition: CalypsoDesynchronizedExchangesException.h:28
keyple::common::StringHelper
Definition: stringhelper.h:28
keyple::calypso::command::sam::CalypsoSamCommand::SV_PREPARE_DEBIT
static const CalypsoSamCommand SV_PREPARE_DEBIT
Definition: CalypsoSamCommand.h:113
keyple::core::seproxy::SeSelector::AidSelector::FileControlInformation::FCP
static const FileControlInformation FCP
Definition: SeSelector.h:135
keyple::calypso::command::sam::parser::security::DigestCloseRespPars::getSignature
const std::vector< uint8_t > getSignature() const
Definition: DigestCloseRespPars.cpp:55
keyple::calypso::command::po::CalypsoPoCommand::GET_DATA_TRACE
static const CalypsoPoCommand GET_DATA_TRACE
Definition: CalypsoPoCommand.h:85
keyple::calypso::transaction::SamCommandProcessor::initializeDigester
void initializeDigester(const AccessLevel &accessLevel, const bool sessionEncryption, const bool verificationMode, const uint8_t poKif, const uint8_t poKVC, const std::vector< uint8_t > &digestData)
Definition: SamCommandProcessor.cpp:183
keyple::common::Logger::warn
void warn(const std::string &format, Args... args)
Definition: Logger.h:92
keyple::calypso::command::po::parser::IncreaseRespPars
Definition: IncreaseRespPars.h:44
keyple::calypso::transaction::DirectoryHeader::DirectoryHeaderBuilder::keyIndexes
DirectoryHeaderBuilder & keyIndexes(const std::vector< uint8_t > &keyIndexes)
Definition: DirectoryHeader.cpp:51
keyple::calypso::command::po::builder::storedvalue::SvSettings
PoTransaction::SvSettings SvSettings
Definition: SvGetCmdBuild.h:38
keyple::common::BerDecoder::parseByte
int parseByte()
Definition: BerDecoder.h:58
keyple::common::Object::hashCode
virtual int hashCode()=0
keyple::core::seproxy::plugin::AbstractPlugin::getName
const std::string & getName() const
Definition: AbstractSeProxyComponent.cpp:23
keyple::calypso::command::po::parser::security::OpenSession10RespPars
Definition: OpenSession10RespPars.h:33
keyple::common::ConcurrentMap::size
size_type size() noexcept
Definition: ConcurrentMap.h:207
keyple::core::seproxy::message::ApduResponse::operator!=
bool operator!=(const ApduResponse &o) const
Definition: ApduResponse.cpp:92
keyple::calypso::transaction::exception::CalypsoAuthenticationNotVerifiedException::CalypsoAuthenticationNotVerifiedException
CalypsoAuthenticationNotVerifiedException(const std::string &message, const std::exception &cause)
Definition: CalypsoAuthenticationNotVerifiedException.h:45
keyple::calypso::transaction::CalypsoPoUtils::getSvGetHeader
static const std::vector< uint8_t > & getSvGetHeader()
Definition: CalypsoPoUtils.cpp:645
keyple::core::seproxy::message::AnswerToReset::operator!=
bool operator!=(const AnswerToReset &o) const
Definition: AnswerToReset.cpp:41
keyple::calypso::transaction::PoSecuritySettings::PoSecuritySettingsBuilder::sessionDefaultKif
PoSecuritySettingsBuilder & sessionDefaultKif(const AccessLevel &sessionAccessLevel, const uint8_t kif)
Definition: PoSecuritySettings.cpp:163
keyple::common::Byte::equals
bool equals(std::shared_ptr< void > o) override
Definition: Byte.h:177
keyple::core::seproxy::SeSelector::AidSelector::AidSelector
AidSelector(AidSelectorBuilder *builder)
Definition: SeSelector.cpp:130
keyple::calypso::command::po::parser::security::OpenSession24RespPars::OpenSession24RespPars
OpenSession24RespPars(std::shared_ptr< ApduResponse > response, OpenSession24CmdBuild *builder)
Definition: OpenSession24RespPars.cpp:37
NoSuchElementException.h
keyple::calypso::command::sam::builder::security::DigestUpdateMultipleCmdBuild
Definition: DigestUpdateMultipleCmdBuild.h:45
keyple::core::seproxy::event::AbstractDefaultSelectionsRequest::AbstractDefaultSelectionsRequest
AbstractDefaultSelectionsRequest(const std::vector< std::shared_ptr< SeRequest >> &selectionSeRequests, const MultiSeRequestProcessing &multiSeRequestProcessing, const ChannelControl &channelControl)
Definition: AbstractDefaultSelectionsRequest.cpp:21
keyple::common::exception::NameNotFoundException::NameNotFoundException
NameNotFoundException(const std::string &message, const std::exception cause)
Definition: NameNotFoundException.h:32
keyple::core::util::bertlv::Tag::operator==
bool operator==(const Tag &o) const
Definition: Tag.cpp:87
keyple::plugin::stub::StubReaderImpl::getParameters
const std::map< const std::string, const std::string > & getParameters() const override
Definition: StubReaderImpl.cpp:180
keyple::common::System::arraycopy
static void arraycopy(const std::vector< uint8_t > &src, int srcPos, std::vector< uint8_t > &dest, int destPos, int length)
Definition: System.h:63
keyple::core::seproxy::SeSelector::AidSelector::AidSelectorBuilder
Definition: SeSelector.h:189
keyple::calypso::command::po::parser::GetDataFciRespPars::getApplicationSerialNumber
const std::vector< uint8_t > & getApplicationSerialNumber() const
Definition: GetDataFciRespPars.cpp:187
keyple::core::seproxy::ReaderPoolPlugin::allocateReader
virtual std::shared_ptr< SeReader > allocateReader(const std::string &groupReference)=0
keyple::core::seproxy::message::SeResponse
Definition: SeResponse.h:43
keyple::core::seproxy::plugin::AbstractObservableState::onEvent
virtual void onEvent(const InternalEvent event)=0
keyple::calypso::command::po::builder::DecreaseCmdBuild
Definition: DecreaseCmdBuild.h:47
keyple::core::seproxy::event::AbstractDefaultSelectionsResponse::getSelectionSeResponses
virtual const std::vector< std::shared_ptr< SeResponse > > & getSelectionSeResponses() const
Definition: AbstractDefaultSelectionsResponse.cpp:27
keyple::calypso::transaction::SamSelector::SamSelectorBuilder::seProtocol
SamSelectorBuilder & seProtocol(const std::shared_ptr< SeProtocol > seProtocol) override
Definition: SamSelector.cpp:128
keyple::core::seproxy::operator<<
std::ostream & operator<<(std::ostream &os, const FileOccurrence &fc)
Definition: SeSelector.cpp:73
keyple::common::exception::NoSuchElementException::NoSuchElementException
NoSuchElementException(const std::string &message, const std::exception cause)
Definition: NoSuchElementException.h:32
keyple::calypso::transaction::SamResourceManager::ManagedSamResource::isSamResourceFree
bool isSamResourceFree() const
Definition: SamResourceManager.cpp:77
keyple::calypso::transaction::exception::CalypsoAtomicTransactionException::CalypsoAtomicTransactionException
CalypsoAtomicTransactionException(const std::string &message)
Definition: CalypsoAtomicTransactionException.h:35
keyple::calypso::command::sam::parser::security::CardGenerateKeyRespPars
Definition: CardGenerateKeyRespPars.h:39
keyple::core::seproxy::SeSelector::AidSelector::FileOccurrence
Definition: SeSelector.h:69
keyple::calypso::command::sam::CalypsoSamCommand::DIGEST_UPDATE_MULTIPLE
static const CalypsoSamCommand DIGEST_UPDATE_MULTIPLE
Definition: CalypsoSamCommand.h:53
keyple::calypso::command::po::AbstractPoCommandBuilder::createResponseParser
virtual std::shared_ptr< T > createResponseParser(std::shared_ptr< ApduResponse > apduResponse)=0
keyple::calypso::transaction::CalypsoPo::getSvDebitLogAllRecords
const std::vector< std::shared_ptr< SvDebitLogRecord > > getSvDebitLogAllRecords() const
Definition: CalypsoPo.cpp:535
CalypsoPoSecurityContextException.h
CardCipherPinCmdBuild.h
keyple::calypso::command::sam::parser::security::DigestUpdateRespPars::getStatusTable
const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const override
Definition: DigestUpdateRespPars.cpp:77
keyple::calypso::transaction::SvDebitLogRecord::getKvc
uint8_t getKvc() const
Definition: SvDebitLogRecord.cpp:70
keyple::core::seproxy::event::AbstractDefaultSelectionsRequest::getChannelControl
virtual const ChannelControl & getChannelControl() const final
Definition: AbstractDefaultSelectionsRequest.cpp:41
keyple::core::command::AbstractApduResponseParser::setApduResponse
void setApduResponse(const std::shared_ptr< ApduResponse > &response)
Definition: AbstractApduResponseParser.cpp:53
keyple::calypso::command::po::parser::storedvalue::SvGetRespPars::getChallengeOut
const std::vector< uint8_t > & getChallengeOut() const
Definition: SvGetRespPars.cpp:145
Matcher.h
keyple::core::seproxy::SeSelector::AidSelector::AidSelectorBuilder::fileOccurrence
AidSelectorBuilder & fileOccurrence(const FileOccurrence &fileOccurrence)
Definition: SeSelector.cpp:240
keyple::common::Boolean
Definition: Boolean.h:22
keyple::calypso::command::po::parser::security::AbstractOpenSessionRespPars::getTransactionCounterValue
virtual int getTransactionCounterValue() const
Definition: AbstractOpenSessionRespPars.cpp:196
keyple::calypso::command::sam::CalypsoSamCommand::GET_CHALLENGE
static const CalypsoSamCommand GET_CHALLENGE
Definition: CalypsoSamCommand.h:38
InterruptedException.h
keyple::calypso::transaction::SamResourceManagerDefault::~SamResourceManagerDefault
virtual ~SamResourceManagerDefault()=default
keyple::calypso::command::po::parser::storedvalue::SvReloadRespPars::toString
const std::string toString() const
Definition: SvReloadRespPars.cpp:105
keyple::core::seproxy::plugin::AbstractObservableLocalReader::removeObserver
void removeObserver(const std::shared_ptr< ObservableReader::ReaderObserver > observer) final
Definition: AbstractObservableLocalReader.cpp:256
keyple::core::seproxy::message::ApduResponse::getDataOut
std::vector< uint8_t > getDataOut() const
Definition: ApduResponse.cpp:78
keyple::common::StringBuilder
Definition: stringbuilder.h:22
keyple::core::command::StatusProperties
AbstractApduResponseParser::StatusProperties StatusProperties
Definition: AbstractApduResponseParser.cpp:31
keyple::common::Logger
Definition: Logger.h:39
keyple::calypso::transaction::CalypsoPo::getModificationsCounter
int getModificationsCounter() const
Definition: CalypsoPo.cpp:244
keyple::core::seproxy::SeSelector::operator<<
friend KEYPLECORE_API std::ostream & operator<<(std::ostream &os, const SeSelector &ss)
Definition: SeSelector.cpp:327
keyple::common::Object::equals
virtual bool equals(std::shared_ptr< void > o)=0
keyple::calypso::transaction::PoSecuritySettings::PoSecuritySettingsBuilder::pinTransmissionMode
PoSecuritySettingsBuilder & pinTransmissionMode(const PinTransmissionMode pinTransmissionMode)
Definition: PoSecuritySettings.cpp:156
keyple::core::seproxy::FileOccurrence
SeSelector::AidSelector::FileOccurrence FileOccurrence
Definition: SeSelector.cpp:35
keyple::core::seproxy::AbstractPluginFactory::getPluginInstance
virtual ReaderPlugin & getPluginInstance()=0
keyple::calypso::command::sam::parser::security::SvPrepareOperationRespPars
Definition: SvPrepareOperationRespPars.h:33
keyple::common::StringHelper::replace
static std::string replace(std::string source, const std::string &find, const std::string &replace)
Definition: stringhelper.h:45
keyple::common::Byte::~Byte
virtual ~Byte()
Definition: Byte.h:91
keyple::plugin::pcsc::PcscReaderImpl::checkSePresence
bool checkSePresence() override
Definition: PcscReaderImpl.cpp:142
keyple::core::seproxy::event::ReaderEvent::getReader
const std::shared_ptr< SeReader > getReader() const
Definition: ReaderEvent.cpp:117
keyple::plugin::pcsc::PcscReader
Definition: PcscReader.h:30
keyple::calypso::command::po::CalypsoPoCommand::SELECT_FILE
static const CalypsoPoCommand SELECT_FILE
Definition: CalypsoPoCommand.h:76
keyple::calypso::transaction::PoSecuritySettings::PoSecuritySettingsBuilder
Definition: PoSecuritySettings.h:64
keyple::core::seproxy::plugin::AbstractObservableLocalReader::mStateService
std::shared_ptr< ObservableReaderStateService > mStateService
Definition: AbstractObservableLocalReader.h:381
keyple::plugin::pcsc::PcscReader::SETTING_PROTOCOL_T_CL
static const std::string SETTING_PROTOCOL_T_CL
Definition: PcscReader.h:41
keyple::core::command
Definition: AbstractApduCommandBuilder.cpp:22
keyple::core::seproxy::exception::KeyplePluginInstantiationException
Definition: KeyplePluginInstantiationException.h:30
keyple::plugin::stub::StubReader::getSe
virtual std::shared_ptr< StubSecureElement > getSe()=0
keyple::calypso::command::po::exception::CalypsoPoPinException
Definition: CalypsoPoPinException.h:30
keyple::core::seproxy::exception::KeypleAllocationReaderException::KeypleAllocationReaderException
KeypleAllocationReaderException(const std::string &msg, const std::exception &cause)
Definition: KeypleAllocationReaderException.h:40
keyple::core::seproxy::SeSelector::SeSelectorBuilder::~SeSelectorBuilder
virtual ~SeSelectorBuilder()=default
keyple::calypso::transaction::PoTransaction::SessionState::SESSION_OPEN
@ SESSION_OPEN
keyple::calypso::command::po::exception::CalypsoPoSessionBufferOverflowException::CalypsoPoSessionBufferOverflowException
CalypsoPoSessionBufferOverflowException(const std::string &message, const std::shared_ptr< CalypsoPoCommand > command, const int statusCode)
Definition: CalypsoPoSessionBufferOverflowException.h:38
keyple::core::seproxy::message::SeResponse::operator!=
bool operator!=(const SeResponse &o) const
Definition: SeResponse.cpp:106
KeypleReaderIOException.h
keyple::calypso::command::sam::builder::security::DigestInitCmdBuild::DigestInitCmdBuild
DigestInitCmdBuild(const SamRevision &revision, const bool verificationMode, const bool confidentialSessionMode, const uint8_t workKeyRecordNumber, const uint8_t workKeyKif, const uint8_t workKeyKVC, const std::vector< uint8_t > &digestData)
Definition: DigestInitCmdBuild.cpp:33
keyple::calypso::transaction::PoCommandManager::getPoCommandBuilders
const std::vector< std::shared_ptr< AbstractPoCommandBuilder< AbstractPoResponseParser > > > getPoCommandBuilders()
Definition: PoCommandManager.cpp:84
keyple::calypso::transaction::DirectoryHeader::DirectoryHeaderBuilder::kvc
DirectoryHeaderBuilder & kvc(const AccessLevel &level, const uint8_t kvc)
Definition: DirectoryHeader.cpp:69
keyple::calypso::command::sam::builder::security::DigestCloseCmdBuild
Definition: DigestCloseCmdBuild.h:42
keyple::calypso::command::po::AbstractPoCommandBuilder::getCommandRef
virtual const std::shared_ptr< SeCommand > getCommandRef() const override
Definition: AbstractPoCommandBuilder.h:84
keyple::core::selection::SelectionsResult::getActiveMatchingSe
const std::shared_ptr< AbstractMatchingSe > getActiveMatchingSe()
Definition: SelectionsResult.cpp:43
keyple::plugin::pcsc::PcscTerminal::endExclusive
void endExclusive()
Definition: PcscTerminal.cpp:361
keyple::core::seproxy::SeReader::operator==
virtual bool operator==(const SeReader &o) const
Definition: SeReader.h:100
keyple::common::Matcher::find
bool find()
Definition: Matcher.cpp:59
keyple::calypso::transaction::PoTransaction::PinTransmissionMode
PinTransmissionMode
Definition: PoTransaction.h:89
ExecutorService.h
keyple::core::seproxy::FileControlInformation
SeSelector::AidSelector::FileControlInformation FileControlInformation
Definition: SeSelector.cpp:36
keyple::common::exception::NoSuchMethodException::NoSuchMethodException
NoSuchMethodException(const std::string &message)
Definition: NoSuchMethodException.h:27
keyple::calypso::command::po::builder::storedvalue::SvGetCmdBuild::createResponseParser
std::shared_ptr< SvGetRespPars > createResponseParser(std::shared_ptr< ApduResponse > apduResponse) override
Definition: SvGetCmdBuild.cpp:62
keyple::calypso::transaction::PoTransaction::SessionSetting::AccessLevel::getName
const std::string & getName() const
Definition: PoTransaction.cpp:1390
AbstractThreadedObservablePlugin.h
keyple::plugin::pcsc::PcscReaderImpl::transmitApdu
std::vector< uint8_t > transmitApdu(const std::vector< uint8_t > &apduIn) override
Definition: PcscReaderImpl.cpp:231
keyple::core::seproxy::plugin::SmartInsertionReader
Definition: SmartInsertionReader.h:26
SmartSelectionReader.h
SvCheckCmdBuild.h
keyple::plugin::pcsc::PcscReaderImpl::PcscReaderImpl
PcscReaderImpl(const std::string &pluginName, const PcscTerminal &terminal)
Definition: PcscReaderImpl.cpp:52
keyple::calypso::transaction::RatificationMode
PoTransaction::SessionSetting::RatificationMode RatificationMode
Definition: PoSecuritySettings.h:33
keyple::calypso::transaction::CalypsoPoUtils::EF_TYPE_SIMULATED_COUNTERS
static const int EF_TYPE_SIMULATED_COUNTERS
Definition: CalypsoPoUtils.h:107
keyple::calypso::transaction::CalypsoPoUtils::SV_RELOAD_LOG_FILE_NB_REC
static const uint8_t SV_RELOAD_LOG_FILE_NB_REC
Definition: CalypsoPoUtils.h:132
keyple::core::seproxy::exception
Definition: KeypleAllocationNoReaderException.h:22
keyple::core::seproxy::event::ObservableReader::stopSeDetection
virtual void stopSeDetection()=0
ReaderPoolPlugin.h
keyple::core::seproxy::message::AnswerToReset::getBytes
const std::vector< uint8_t > & getBytes() const
Definition: AnswerToReset.cpp:31
keyple::core::util::KeypleAssert::isEqual
const KeypleAssert & isEqual(const int number, const int value, const std::string &name) const
Definition: KeypleAssert.cpp:82
keyple::calypso::command::po::builder::IncreaseCmdBuild
Definition: IncreaseCmdBuild.h:48
keyple::core::seproxy::plugin::CardPresentMonitoringJob
Definition: CardPresentMonitoringJob.h:38
keyple::core::util::ByteArrayUtil::threeBytesToInt
static int threeBytesToInt(const std::vector< uint8_t > &bytes, const int offset)
Definition: ByteArrayUtil.cpp:115
keyple::calypso::command::sam::parser::security
Definition: CardCipherPinCmdBuild.h:29
keyple::calypso::transaction::CalypsoPo::getCalypsoSerialNumber
const std::vector< uint8_t > & getCalypsoSerialNumber() const
Definition: CalypsoPo.cpp:194
VerifyPinRespPars.h
CountDownLatch::await
void await(void)
Definition: CountDownLatch.h:25
keyple::calypso::command::po::parser::security::AbstractOpenSessionRespPars::~AbstractOpenSessionRespPars
virtual ~AbstractOpenSessionRespPars()=default
ObservableReaderNotifier.h
keyple::core::seproxy::exception::KeypleRuntimeException::KeypleRuntimeException
KeypleRuntimeException(const std::string &message, std::exception cause)
Definition: KeypleRuntimeException.h:47
keyple::common::Byte::toString
static std::string toString(unsigned char b)
Definition: Byte.h:128
keyple::calypso::transaction::CalypsoPoUtils::SEL_AC_OFFSET
static const int SEL_AC_OFFSET
Definition: CalypsoPoUtils.h:118
keyple::plugin::stub::StubReaderImpl::removeSe
void removeSe() override
Definition: StubReaderImpl.cpp:211
keyple::core::selection::AbstractMatchingSe::hasAtr
bool hasAtr() const
Definition: AbstractMatchingSe.cpp:63
keyple::calypso::command::sam::builder::security::SamReadEventCounterCmdBuild::createResponseParser
std::shared_ptr< SamReadEventCounterRespPars > createResponseParser(const std::shared_ptr< ApduResponse > apduResponse) override
Definition: SamReadEventCounterCmdBuild.cpp:66
keyple::calypso::transaction::ElementaryFile::ElementaryFile
ElementaryFile(const uint8_t sfi)
Definition: ElementaryFile.cpp:26
keyple::calypso::transaction::SvLoadLogRecord::SvLoadLogRecord
SvLoadLogRecord(const std::vector< uint8_t > &poResponse, const int offset)
Definition: SvLoadLogRecord.cpp:30
keyple::calypso::command::po::builder::IncreaseCmdBuild::isSessionBufferUsed
bool isSessionBufferUsed() const override
Definition: IncreaseCmdBuild.cpp:80
keyple::calypso::command::po::builder::ReadRecordsCmdBuild::ReadMode
ReadMode
Definition: ReadRecordsCmdBuild.h:51
keyple::plugin::pcsc::PcscPluginImpl::fetchNativeReadersNames
const std::set< std::string > & fetchNativeReadersNames() override
Definition: PcscPluginImpl.cpp:63
keyple::core::seproxy::plugin::AbstractReader::mDefaultSelectionsRequest
std::shared_ptr< DefaultSelectionsRequest > mDefaultSelectionsRequest
Definition: AbstractReader.h:120
keyple::common::Arrays::copyOfRange
static std::vector< char > copyOfRange(const std::vector< char > &original, int from, int to)
Definition: Arrays.h:77
SamSelector.h
keyple::calypso::command::sam::builder::security::SamGetChallengeCmdBuild::SamGetChallengeCmdBuild
SamGetChallengeCmdBuild(const SamRevision &revision, const uint8_t expectedResponseLength)
Definition: SamGetChallengeCmdBuild.cpp:32
keyple::calypso::transaction::PoTransaction::SessionState::SESSION_UNINITIALIZED
@ SESSION_UNINITIALIZED
keyple::core::seproxy::plugin::AbstractObservableState::mMonitoringEvent
std::future< void > * mMonitoringEvent
Definition: AbstractObservableState.h:101
keyple::calypso::transaction::PoTransaction::SvSettings::LogRead::SINGLE
@ SINGLE
keyple::calypso::command::po::parser::security::AbstractOpenSessionRespPars
Definition: AbstractOpenSessionRespPars.h:51
keyple::plugin::pcsc::PcscReader::SETTING_TRANSMISSION_MODE_CONTACTLESS
static const std::string SETTING_TRANSMISSION_MODE_CONTACTLESS
Definition: PcscReader.h:37
AppendRecordRespPars.h
keyple::core::util
Definition: Tag.cpp:23
AbstractReader.h
keyple::core::seproxy::plugin::AbstractLocalReader::checkSePresence
virtual bool checkSePresence()=0
LoggerFactory.h
keyple::common::exception::NameNotFoundException::NameNotFoundException
NameNotFoundException(const std::string &message)
Definition: NameNotFoundException.h:27
keyple::common::ConcurrentMap::insert
iterator insert(const_iterator position, const value_type &val)
Definition: ConcurrentMap.h:83
keyple::calypso::command::po::parser::storedvalue::SvUndebitRespPars::SvUndebitRespPars
SvUndebitRespPars(std::shared_ptr< ApduResponse > response, SvUndebitCmdBuild *builder)
Definition: SvUndebitRespPars.cpp:82
keyple::calypso::transaction::CalypsoPoUtils::MASK_3_BYTES
static const int MASK_3_BYTES
Definition: CalypsoPoUtils.h:62
SamGetChallengeCmdBuild.h
keyple::core::seproxy::plugin::AbstractLocalReader::isLogicalChannelOpen
virtual bool isLogicalChannelOpen() const final
Definition: AbstractLocalReader.cpp:179
keyple::calypso::command::sam::parser::security::CardGenerateKeyRespPars::getCipheredData
const std::vector< uint8_t > getCipheredData() const
Definition: CardGenerateKeyRespPars.cpp:88
keyple::core::seproxy::plugin::AbstractObservableState::onActivate
void onActivate()
Definition: AbstractObservableState.cpp:55
keyple::common::Object::finalize
virtual void finalize()=0
keyple::plugin::pcsc::PcscTerminal::operator!=
bool operator!=(const PcscTerminal &o) const
Definition: PcscTerminal.cpp:370
keyple::core::seproxy::plugin::AbstractLocalReader::processSeRequests
virtual std::vector< std::shared_ptr< SeResponse > > processSeRequests(const std::vector< std::shared_ptr< SeRequest >> &seRequests, const MultiSeRequestProcessing &multiSeRequestProcessing, const ChannelControl &channelControl) override
Definition: AbstractLocalReader.cpp:212
AbstractOpenSessionRespPars.h
keyple::core::seproxy::ReaderPlugin
Definition: ReaderPlugin.h:36
keyple::calypso::command::po::parser::security::AbstractOpenSessionRespPars::isManageSecureSessionAuthorized
virtual bool isManageSecureSessionAuthorized() const
Definition: AbstractOpenSessionRespPars.cpp:206
keyple::calypso::transaction::PoSecuritySettings::PoSecuritySettingsBuilder::sessionAuthorizedKvcList
PoSecuritySettingsBuilder & sessionAuthorizedKvcList(const std::vector< uint8_t > &authorizedKvcList)
Definition: PoSecuritySettings.cpp:186
keyple::plugin::pcsc::PcscReaderImpl::setParameter
void setParameter(const std::string &name, const std::string &value) override
Definition: PcscReaderImpl.cpp:287
keyple::calypso::transaction::SamIdentifierBuilder
SamIdentifier::SamIdentifierBuilder SamIdentifierBuilder
Definition: SamIdentifier.cpp:26
keyple::calypso::command::po::exception::CalypsoPoIllegalParameterException
Definition: CalypsoPoIllegalParameterException.h:31
keyple::calypso::command::sam::parser::security::CardCipherPinRespPars::getCipheredData
const std::vector< uint8_t > getCipheredData() const
Definition: CardCipherPinRespPars.cpp:86
keyple::calypso::transaction::SamResourceManagerPool
Definition: SamResourceManagerPool.h:37
keyple::calypso::transaction::SvDebitLogRecord::getDebitDateBytes
const std::vector< uint8_t > getDebitDateBytes() const
Definition: SvDebitLogRecord.cpp:61
keyple::core::seproxy::plugin::AbstractLocalReader::closePhysicalChannel
virtual void closePhysicalChannel()=0
keyple::calypso::transaction::CalypsoPo::getSvBalance
int getSvBalance() const
Definition: CalypsoPo.cpp:494
keyple::calypso::transaction::ElementaryFile::getData
std::shared_ptr< FileData > getData() const
Definition: ElementaryFile.cpp:50
keyple::calypso::transaction::PoTransaction::SessionSetting::ModificationMode::ATOMIC
@ ATOMIC
keyple::calypso::transaction::exception::CalypsoAuthenticationNotVerifiedException::CalypsoAuthenticationNotVerifiedException
CalypsoAuthenticationNotVerifiedException(const std::string &message)
Definition: CalypsoAuthenticationNotVerifiedException.h:36
keyple::calypso::transaction::DirectoryHeader::DirectoryHeaderBuilder::lid
DirectoryHeaderBuilder & lid(const uint16_t lid)
Definition: DirectoryHeader.cpp:38
keyple::common::StringHelper::trimEnd
static std::string trimEnd(std::string source, const std::string &trimChars=" \t\n\r\v\f")
Definition: stringhelper.h:35
keyple::core::seproxy::plugin::AbstractReader::AbstractReader
AbstractReader(const std::string &pluginName, const std::string &name)
Definition: AbstractReader.cpp:42
keyple::core::command::exception::KeypleSeCommandUnknownStatusException::KeypleSeCommandUnknownStatusException
KeypleSeCommandUnknownStatusException(const std::string &message, const std::shared_ptr< SeCommand > command, const int statusCode)
Definition: KeypleSeCommandUnknownStatusException.h:36
AbstractPlugin.h
keyple::calypso::transaction::CalypsoPoUtils::prepareSelectFile
static std::unique_ptr< SelectFileCmdBuild > prepareSelectFile(const PoClass &poClass, const std::vector< uint8_t > &lid)
Definition: CalypsoPoUtils.cpp:617
keyple::calypso::command::po::parser::security::InvalidateRespPars::getStatusTable
const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const override
Definition: InvalidateRespPars.cpp:64
keyple::core::seproxy::plugin::AbstractReader::transmitSeRequest
std::shared_ptr< SeResponse > transmitSeRequest(std::shared_ptr< SeRequest > seRequest, const ChannelControl &channelControl) override
Definition: AbstractReader.cpp:107
keyple::calypso::command::sam::parser::security::SamReadCeilingsRespPars
Definition: SamReadCeilingsRespPars.h:38
keyple::calypso::transaction::SamResourceManagerPool::allocateSamResource
std::shared_ptr< SeResource< CalypsoSam > > allocateSamResource(const AllocationMode allocationMode, const std::shared_ptr< SamIdentifier > samIdentifier) override
Definition: SamResourceManagerPool.cpp:57
keyple::calypso::command::po::parser::security::InvalidateRespPars
Definition: InvalidateRespPars.h:35
keyple::calypso::transaction::exception
Definition: CalypsoAtomicTransactionException.h:22
keyple::core::seproxy::plugin::AbstractObservableLocalReader::switchState
void switchState(const MonitoringState stateId)
Definition: AbstractObservableLocalReader.cpp:226
keyple::plugin::pcsc::PcscReader::SETTING_KEY_TRANSMISSION_MODE
static const std::string SETTING_KEY_TRANSMISSION_MODE
Definition: PcscReader.h:35
keyple::common::exception::ClassNotFoundException
Definition: ClassNotFoundException.h:22
keyple::core::seproxy::event::ReaderEvent::EventType::getName
const std::string & getName() const
keyple::core::seproxy::message::ApduRequest::ApduRequest
ApduRequest(const std::vector< uint8_t > &buffer, bool case4, std::shared_ptr< std::set< int >> successfulStatusCodes)
Definition: ApduRequest.cpp:41
keyple::calypso::transaction::SvDebitLogRecord::getBalance
int getBalance() const
Definition: SvDebitLogRecord.cpp:37
keyple::calypso::command::po::CalypsoPoCommand::SV_GET
static const CalypsoPoCommand SV_GET
Definition: CalypsoPoCommand.h:88
keyple::calypso::transaction::PoSecuritySettings::PoSecuritySettingsBuilder::ratificationMode
PoSecuritySettingsBuilder & ratificationMode(const RatificationMode ratificationMode)
Definition: PoSecuritySettings.cpp:149
keyple::common::ConcurrentMap::count
size_type count(const K &k) const
Definition: ConcurrentMap.h:198
keyple::calypso::command::sam::parser::security::SamReadKeyParametersRespPars
Definition: SamReadKeyParametersRespPars.h:38
keyple::calypso::command::po::CalypsoPoCommand::GET_DATA_FCI
static const CalypsoPoCommand GET_DATA_FCI
Definition: CalypsoPoCommand.h:37
keyple::calypso::transaction::FileHeader::FileType
FileType
Definition: FileHeader.h:38
keyple::plugin::stub::StubPoolPluginImpl::getReader
const std::shared_ptr< SeReader > getReader(const std::string &name) override
Definition: StubPoolPluginImpl.cpp:182
keyple::core::seproxy::plugin::InternalEvent
InternalEvent
Definition: AbstractObservableLocalReader.h:44
keyple::calypso::transaction::DirectoryHeader::builder
static std::unique_ptr< DirectoryHeaderBuilder > builder()
Definition: DirectoryHeader.cpp:134
keyple::calypso::transaction::PoSelector::PoSelectorBuilder::aidSelector
PoSelectorBuilder & aidSelector(const std::shared_ptr< AidSelector > aidSelector) override
Definition: PoSelector.cpp:69
keyple::calypso::command::po::parser::security::ChangeKeyRespPars::ChangeKeyRespPars
ChangeKeyRespPars(std::shared_ptr< ApduResponse > response, ChangeKeyCmdBuild *builder)
Definition: ChangeKeyRespPars.cpp:90
keyple::calypso::command::sam::CalypsoSamCommand
Definition: CalypsoSamCommand.h:28
keyple::plugin::pcsc::PcscReaderImpl::stopWaitForCard
void stopWaitForCard() override
Definition: PcscReaderImpl.cpp:189
keyple::core::seproxy::plugin::CardAbsentPingMonitoringJob::CardAbsentPingMonitoringJob
CardAbsentPingMonitoringJob(AbstractObservableLocalReader *reader)
Definition: CardAbsentPingMonitoringJob.cpp:26
keyple::calypso::command::po::parser::AppendRecordRespPars::getStatusTable
const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const override
Definition: AppendRecordRespPars.cpp:96
keyple::calypso::transaction::SamSelector::SamSelector
SamSelector(SamSelectorBuilder *builder)
Definition: SamSelector.cpp:39
keyple::core::seproxy::ReaderPlugin::getReaders
virtual ConcurrentMap< const std::string, std::shared_ptr< SeReader > > & getReaders()=0
keyple::common::exception::NumberFormatException::NumberFormatException
NumberFormatException(const std::string &message, const std::exception cause)
Definition: NumberFormatException.h:37
keyple::plugin::stub::StubPoolPluginImpl::getName
const std::string & getName() const override
Definition: StubPoolPluginImpl.cpp:46
keyple::core::seproxy::message::ProxyReader::transmitSeRequests
virtual std::vector< std::shared_ptr< SeResponse > > transmitSeRequests(const std::vector< std::shared_ptr< SeRequest >> &seRequests, const MultiSeRequestProcessing &multiSeRequestProcessing, const ChannelControl &channelControl)=0
keyple::core::seproxy::event::ObservableReader::setDefaultSelectionRequest
virtual void setDefaultSelectionRequest(std::shared_ptr< AbstractDefaultSelectionsRequest > defaultSelectionsRequest, const NotificationMode &notificationMode)=0
keyple::core::seproxy::plugin::AbstractObservableLocalReader::onEvent
void onEvent(const InternalEvent event)
Definition: AbstractObservableLocalReader.cpp:238
keyple::calypso::transaction::CalypsoPo::setContent
void setContent(const uint8_t sfi, const int numRecord, const std::vector< uint8_t > &content)
Definition: CalypsoPo.cpp:380
keyple::calypso::command::po::parser::AppendRecordRespPars
Definition: AppendRecordRespPars.h:39
keyple::calypso::transaction::DirectoryHeaderBuilder
DirectoryHeader::DirectoryHeaderBuilder DirectoryHeaderBuilder
Definition: DirectoryHeader.cpp:32
keyple::calypso::transaction::PoTransaction::prepareReadRecordFile
void prepareReadRecordFile(const uint8_t sfi, const uint8_t recordNumber)
Definition: PoTransaction.cpp:1010
keyple::calypso::command::sam::parser::security::GiveRandomRespPars
Definition: GiveRandomRespPars.h:42
keyple::core::seproxy::AbstractPluginFactory
Definition: AbstractPluginFactory.h:23
keyple::core::seproxy::plugin::ObservableReaderStateService::getStates
std::map< MonitoringState, std::shared_ptr< AbstractObservableState > > & getStates()
Definition: ObservableReaderStateService.h:77
keyple::core::seproxy::message::SelectionStatus::getFci
virtual std::shared_ptr< ApduResponse > getFci() const
Definition: SelectionStatus.cpp:39
keyple::core::selection::SeResource::getSeReader
virtual const std::shared_ptr< SeReader > getSeReader() const
Definition: SeResource.h:59
Thread.h
SeProtocol.h
keyple::calypso::command::po::builder::security::ChangeKeyCmdBuild::createResponseParser
std::shared_ptr< ChangeKeyRespPars > createResponseParser(std::shared_ptr< ApduResponse > apduResponse) override
Definition: ChangeKeyCmdBuild.cpp:55
keyple::calypso::command::sam::builder::security::DigestUpdateMultipleCmdBuild::createResponseParser
std::shared_ptr< DigestUpdateMultipleRespPars > createResponseParser(const std::shared_ptr< ApduResponse > apduResponse) override
Definition: DigestUpdateMultipleCmdBuild.cpp:52
CalypsoPoDataOutOfBoundsException.h
keyple::calypso::transaction::PoTransaction::SessionSetting::RatificationMode
RatificationMode
Definition: PoTransaction.h:264
keyple::core::seproxy::plugin::AbstractObservablePlugin::clearObservers
virtual void clearObservers() override
Definition: AbstractObservablePlugin.cpp:52
keyple::calypso::command::po::parser::security::AbstractOpenSessionRespPars::SecureSession::getKIF
virtual uint8_t getKIF() const
Definition: AbstractOpenSessionRespPars.cpp:300
keyple::calypso::transaction::FileData
Definition: FileData.h:33
keyple::calypso::transaction::exception::CalypsoInconsistencyDataException
Definition: CalypsoInconsistencyDataException.h:31
GiveRandomRespPars.h
keyple::calypso::transaction::CalypsoPo::getApplicationType
uint8_t getApplicationType() const
Definition: CalypsoPo.cpp:254
SeSelector.h
KeypleAllocationNoReaderException.h
SmartInsertionReader.h
CalypsoSamCounterOverflowException.h
keyple::calypso::command::PoClass::operator=
PoClass & operator=(const PoClass &o)
Definition: PoClass.cpp:36
keyple::calypso::command::sam::builder::security::SamReadKeyParametersCmdBuild::NavControl
NavControl
Definition: SamReadKeyParametersCmdBuild.h:54
keyple::calypso::command::po::CalypsoPoCommand::SV_DEBIT
static const CalypsoPoCommand SV_DEBIT
Definition: CalypsoPoCommand.h:91
keyple::plugin::pcsc::PcscTerminal::getATR
const std::vector< uint8_t > & getATR()
Definition: PcscTerminal.cpp:249
keyple::core::seproxy::plugin::AbstractObservableLocalReader::clearObservers
void clearObservers() final
Definition: AbstractObservableLocalReader.cpp:292
keyple::common::StringHelper::uint8ToHexString
static std::string uint8ToHexString(const uint8_t v)
Definition: stringhelper.h:98
keyple::calypso::transaction::PoCommandManager::notifyCommandsProcessed
void notifyCommandsProcessed()
Definition: PoCommandManager.cpp:78
keyple::calypso::command::po::exception::CalypsoPoSecurityContextException::CalypsoPoSecurityContextException
CalypsoPoSecurityContextException(const std::string &message, const std::shared_ptr< CalypsoPoCommand > command, const int statusCode)
Definition: CalypsoPoSecurityContextException.h:38
keyple::common::Matcher::getTextLength
int getTextLength() const
Definition: Matcher.cpp:114
RatificationCmdBuild.h
keyple::common::Integer::toString
static std::string toString(int i)
Definition: Integer.h:82
keyple::core::seproxy::event::ReaderEvent::EventType::operator<<
friend KEYPLECORE_API std::ostream & operator<<(std::ostream &os, const EventType &et)
keyple::core::seproxy::plugin::AbstractObservableLocalReader::isSePresent
bool isSePresent() override
Definition: AbstractObservableLocalReader.cpp:28
keyple::calypso::transaction::SamResourceManagerDefault::PluginObserver
Definition: SamResourceManagerDefault.h:85
keyple::core::seproxy::plugin::SmartRemovalReader
Definition: SmartRemovalReader.h:27
keyple::core::seproxy::SeSelector::AidSelector::FileOccurrence::operator==
bool operator==(const FileOccurrence &o) const
Definition: SeSelector.cpp:57
keyple::common::exception::Error::Error
Error()
Definition: Error.h:28
keyple::core::command::AbstractApduCommandBuilder::getApduRequest
virtual const std::shared_ptr< ApduRequest > getApduRequest() const
Definition: AbstractApduCommandBuilder.cpp:64
keyple::calypso::transaction::FileType
FileHeader::FileType FileType
Definition: CalypsoPoUtils.h:46
keyple::core::seproxy::plugin::SmartInsertionMonitoringJob::SmartInsertionMonitoringJob
SmartInsertionMonitoringJob(SmartInsertionReader *reader)
Definition: SmartInsertionMonitoringJob.cpp:32
keyple::calypso::command::po::parser::GetDataFciRespPars::isDfInvalidated
bool isDfInvalidated() const
Definition: GetDataFciRespPars.cpp:198
keyple::calypso::command::po::CalypsoPoCommand::GET_CHALLENGE
static const CalypsoPoCommand GET_CHALLENGE
Definition: CalypsoPoCommand.h:67
keyple::plugin::pcsc::PcscReader::SETTING_KEY_DISCONNECT
static const std::string SETTING_KEY_DISCONNECT
Definition: PcscReader.h:46
keyple::plugin::pcsc::PcscReader::SETTING_DISCONNECT_UNPOWER
static const std::string SETTING_DISCONNECT_UNPOWER
Definition: PcscReader.h:48
keyple::core::seproxy::plugin::AbstractObservableLocalReader::stopSeDetection
void stopSeDetection() final
Definition: AbstractObservableLocalReader.cpp:56
keyple::calypso::command::po::AbstractPoResponseParser::~AbstractPoResponseParser
virtual ~AbstractPoResponseParser()=default
keyple::core::util::KeypleAssert::getInstance
static const KeypleAssert & getInstance()
Definition: KeypleAssert.cpp:29
keyple::calypso::transaction::PoSecuritySettingsBuilder
PoSecuritySettings::PoSecuritySettingsBuilder PoSecuritySettingsBuilder
Definition: PoSecuritySettings.cpp:27
keyple::core::seproxy::SeSelector::AidSelector::AidSelectorBuilder::mAidToSelect
std::vector< uint8_t > mAidToSelect
Definition: SeSelector.h:241
keyple::core::command::exception::KeypleSeCommandException
Definition: KeypleSeCommandException.h:37
keyple::calypso::command::po::AbstractPoCommandBuilder::AbstractPoCommandBuilder
AbstractPoCommandBuilder(std::shared_ptr< CalypsoPoCommand > commandRef, std::shared_ptr< ApduRequest > request)
Definition: AbstractPoCommandBuilder.h:56
keyple::plugin::pcsc::PcscTerminal::operator==
bool operator==(const PcscTerminal &o) const
Definition: PcscTerminal.cpp:365
keyple::calypso::command::sam::exception::CalypsoSamAccessForbiddenException
Definition: CalypsoSamAccessForbiddenException.h:32
keyple::plugin::stub::StubPluginImpl::unplugStubReader
void unplugStubReader(const std::string &readerName, const bool synchronous) override
Definition: StubPluginImpl.cpp:113
keyple::calypso::transaction::PoSecuritySettings::PoSecuritySettingsBuilder::mPinTransmissionMode
PinTransmissionMode mPinTransmissionMode
Definition: PoSecuritySettings.h:85
keyple::plugin::stub::StubPlugin::plugStubReader
virtual void plugStubReader(const std::string &name, TransmissionMode transmissionMode, bool synchronous)=0
keyple::core::command::AbstractApduResponseParser::~AbstractApduResponseParser
virtual ~AbstractApduResponseParser()=default
keyple::calypso::transaction::CalypsoPo::addCyclicContent
void addCyclicContent(const uint8_t sfi, const std::vector< uint8_t > &content)
Definition: CalypsoPo.cpp:413
keyple::calypso::transaction::exception::CalypsoSamIOException::CalypsoSamIOException
CalypsoSamIOException(const std::string &message, const std::exception &cause)
Definition: CalypsoSamIOException.h:42
keyple::calypso::command::po::builder::security::PoGetChallengeCmdBuild::PoGetChallengeCmdBuild
PoGetChallengeCmdBuild(PoClass poClass)
Definition: PoGetChallengeCmdBuild.cpp:36
keyple::calypso::transaction::SamCommandProcessor::checkSvStatus
void checkSvStatus(const std::vector< uint8_t > &svOperationResponseData)
Definition: SamCommandProcessor.cpp:608
keyple::core::command::AbstractApduResponseParser::mBuilder
AbstractApduCommandBuilder * mBuilder
Definition: AbstractApduResponseParser.h:166
VerifyPinCmdBuild.h
keyple::core::seproxy::MultiSeRequestProcessing::FIRST_MATCH
@ FIRST_MATCH
keyple::core::seproxy::message::ChannelControl
ChannelControl
Definition: ChannelControl.h:25
CalypsoSamCommandException.h
keyple::calypso::transaction::PoTransaction::prepareDecreaseCounter
void prepareDecreaseCounter(const uint8_t sfi, const uint8_t counterNumber, const int decValue)
Definition: PoTransaction.cpp:1174
PluginFactory.h
keyple::common::exception::AssertionError::AssertionError
AssertionError(const std::string &msg)
Definition: AssertionError.h:32
AbstractMatchingSe.h
keyple::calypso::command::po::builder::DecreaseCmdBuild::DecreaseCmdBuild
DecreaseCmdBuild(const PoClass poClass, const uint8_t sfi, const uint8_t counterNumber, const int decValue)
Definition: DecreaseCmdBuild.cpp:37
keyple::core::seproxy::plugin::SmartRemovalMonitoringJob
Definition: SmartRemovalMonitoringJob.h:46
keyple::core::seproxy::event::ReaderEvent
Definition: ReaderEvent.h:41
keyple::calypso::command::po::builder::security::OpenSession10CmdBuild::getRecordNumber
virtual uint8_t getRecordNumber() const override
Definition: OpenSession10CmdBuild.cpp:90
keyple::core::command::AbstractApduResponseParser::isSuccessful
virtual bool isSuccessful() const
Definition: AbstractApduResponseParser.cpp:79
keyple::common::Logger::info
void info(const std::string &format, Args... args)
Definition: Logger.h:102
keyple::calypso::transaction::PoTransaction::SessionSetting::AccessLevel::SESSION_LVL_LOAD
static const AccessLevel SESSION_LVL_LOAD
Definition: PoTransaction.h:199
keyple::calypso::transaction::CalypsoPo::getSvLoadLogRecord
const std::shared_ptr< SvLoadLogRecord > getSvLoadLogRecord()
Definition: CalypsoPo.cpp:510
keyple::core::seproxy::SeSelector::getAtrFilter
virtual std::shared_ptr< AtrFilter > getAtrFilter() const
Definition: SeSelector.cpp:317
keyple::calypso::command::po::builder::AppendRecordCmdBuild
Definition: AppendRecordCmdBuild.h:45
keyple::calypso::transaction::SvLoadLogRecord::getLoadTime
int getLoadTime() const
Definition: SvLoadLogRecord.cpp:43
keyple::calypso::command::po::builder::SelectFileCmdBuild::createResponseParser
std::shared_ptr< SelectFileRespPars > createResponseParser(std::shared_ptr< ApduResponse > apduResponse) override
Definition: SelectFileCmdBuild.cpp:95
keyple::calypso::transaction::SamResourceManagerDefault::PluginObserver::PluginObserver
PluginObserver(const std::shared_ptr< ReaderObserver > readerObserver, const std::string &samReaderFilter, SamResourceManagerDefault &parent)
Definition: SamResourceManagerDefault.cpp:253
keyple::calypso::command::sam::builder::security
Definition: CardCipherPinCmdBuild.cpp:30
keyple::calypso::command::sam::builder::security::SamReadEventCounterCmdBuild::MAX_COUNTER_NUMB
static const int MAX_COUNTER_NUMB
Definition: SamReadEventCounterCmdBuild.h:46
keyple::calypso::command::po::parser::security::AbstractOpenSessionRespPars::SecureSession::isPreviousSessionRatified
virtual bool isPreviousSessionRatified() const
Definition: AbstractOpenSessionRespPars.cpp:289
KeyplePluginInstantiationException.h
keyple::core::seproxy::ProxyElement::~ProxyElement
virtual ~ProxyElement()=default
keyple::calypso::command::po::parser::security::OpenSession31RespPars::toSecureSession
std::shared_ptr< SecureSession > toSecureSession(const std::vector< uint8_t > &apduResponseData)
Definition: OpenSession31RespPars.cpp:43
keyple::calypso::transaction::exception::CalypsoSessionAuthenticationException
Definition: CalypsoSessionAuthenticationException.h:30
keyple::calypso::transaction::exception::CalypsoPoTransactionException
Definition: CalypsoPoTransactionException.h:29
keyple::calypso::command::po::parser::storedvalue::SvDebitRespPars
Definition: SvDebitRespPars.h:77
keyple::calypso::command::po::parser::security::OpenSession24RespPars::createSecureSession
static std::shared_ptr< SecureSession > createSecureSession(const std::vector< uint8_t > &apduResponseData)
Definition: OpenSession24RespPars.cpp:56
keyple::calypso::command::sam::builder::security::SamReadKeyParametersCmdBuild::WORK_KEY
@ WORK_KEY
Definition: SamReadKeyParametersCmdBuild.h:49
keyple::calypso::command::po::builder::security::RehabilitateCmdBuild::isSessionBufferUsed
virtual bool isSessionBufferUsed() const override
Definition: RehabilitateCmdBuild.cpp:45
keyple::calypso::command::sam::CalypsoSamCommand::getInstructionByte
uint8_t getInstructionByte() const
Definition: CalypsoSamCommand.cpp:49
keyple::calypso::transaction::SamResourceManager::~SamResourceManager
virtual ~SamResourceManager()=default
keyple::core::seproxy::plugin::AbstractObservableLocalReader::getPollingMode
const ObservableReader::PollingMode & getPollingMode() const
Definition: AbstractObservableLocalReader.cpp:221
keyple::core::command::AbstractApduResponseParser::getStatusInformation
std::string getStatusInformation() const
Definition: AbstractApduResponseParser.cpp:86
CountDownLatch::CountDownLatch
CountDownLatch(const unsigned int count)
Definition: CountDownLatch.h:22
keyple::calypso::transaction::CalypsoPo::getAtr
const std::string getAtr() const
Definition: CalypsoPo.cpp:234
keyple::calypso::transaction::SamResourceManager::ManagedSamResource::SamResourceStatus
SamResourceStatus
Definition: SamResourceManager.h:60
keyple::calypso::command::po::parser::storedvalue::SvGetRespPars
Definition: SvGetRespPars.h:42
DefaultSelectionsResponse.h
keyple::calypso::transaction::CalypsoPoUtils
Definition: CalypsoPoUtils.h:51
keyple::core::seproxy::SeReader
Definition: SeReader.h:42
keyple::plugin::stub::StubPoolPluginImpl::setParameters
void setParameters(const std::map< const std::string, const std::string > &parameters) override
Definition: StubPoolPluginImpl.cpp:200
keyple::calypso::command::sam::builder::security::SvPrepareUndebitCmdBuild
Definition: SvPrepareUndebitCmdBuild.h:34
keyple::core::seproxy::exception::KeypleAllocationReaderException
Definition: KeypleAllocationReaderException.h:27
keyple::calypso::command::po::builder::security::AbstractOpenSessionCmdBuild::getRecordNumber
virtual uint8_t getRecordNumber() const =0
keyple::calypso::transaction::SvDebitLogRecord::getDebitDate
int getDebitDate() const
Definition: SvDebitLogRecord.cpp:56
keyple::calypso::command::po::builder::security::OpenSession10CmdBuild::createResponseParser
std::shared_ptr< AbstractOpenSessionRespPars > createResponseParser(std::shared_ptr< ApduResponse > apduResponse) override
Definition: OpenSession10CmdBuild.cpp:74
keyple::core::seproxy::plugin::AbstractLocalReader::setSeProtocolSetting
virtual void setSeProtocolSetting(const std::map< std::shared_ptr< SeProtocol >, std::string > &protocolSetting) override
Definition: AbstractLocalReader.cpp:203
keyple::common::exception::InvocationTargetException
Definition: InvocationTargetException.h:22
keyple::calypso::command::po::CalypsoPoCommand::operator==
bool operator==(const CalypsoPoCommand &other) const
Definition: CalypsoPoCommand.cpp:85
UnlockRespPars.h
keyple::core::seproxy::SeSelector::AidSelector::FileOccurrence::PREVIOUS
static const FileOccurrence PREVIOUS
Definition: SeSelector.h:77
keyple::plugin::stub::StubPoolPluginImpl::plugStubPoolReader
std::shared_ptr< SeReader > plugStubPoolReader(const std::string &groupReference, const std::string &readerName, std::shared_ptr< StubSecureElement > se) override
Definition: StubPoolPluginImpl.cpp:62
keyple::calypso::command::po::parser::GetDataFciRespPars::isValidCalypsoFCI
bool isValidCalypsoFCI() const
Definition: GetDataFciRespPars.cpp:177
keyple::calypso::command::po::parser::IncreaseRespPars::IncreaseRespPars
IncreaseRespPars(std::shared_ptr< ApduResponse > response, IncreaseCmdBuild *builder)
Definition: IncreaseRespPars.cpp:106
keyple::core::seproxy::exception::KeypleReaderIOException::setSeResponse
void setSeResponse(const std::shared_ptr< SeResponse > seResponse)
Definition: KeypleReaderIOException.h:85
keyple::plugin::stub::StubReaderImpl::setParameter
void setParameter(const std::string &name, const std::string &value) override
Definition: StubReaderImpl.cpp:175
keyple::core::seproxy::message::SelectionStatus
Definition: SelectionStatus.h:40
keyple::calypso::command::po::builder::security::PoGetChallengeCmdBuild
Definition: PoGetChallengeCmdBuild.h:44
keyple::calypso::command::po::parser::security::AbstractOpenSessionRespPars::SecureSession::getChallengeRandomNumber
virtual const std::vector< uint8_t > & getChallengeRandomNumber() const
Definition: AbstractOpenSessionRespPars.cpp:284
CalypsoPoIllegalParameterException.h
keyple::calypso::transaction::SamSelector::SamSelectorBuilder::serialNumber
SamSelectorBuilder & serialNumber(const std::string &serialNumber)
Definition: SamSelector.cpp:105
keyple::calypso::command::sam::SamRevision::operator=
SamRevision & operator=(const SamRevision &o)
Definition: SamRevision.cpp:68
keyple::core::seproxy::message::ApduRequest::setName
void setName(const std::string &name)
Definition: ApduRequest.cpp:64
keyple::plugin::stub::StubPluginImpl::getParameters
const std::map< const std::string, const std::string > & getParameters() const override
Definition: StubPluginImpl.cpp:41
keyple::calypso::transaction::SamResourceManagerDefault::removeResource
void removeResource(const std::shared_ptr< SeReader > samReader)
Definition: SamResourceManagerDefault.cpp:104
PoClass.h
keyple::plugin::stub::StubPluginFactory::StubPluginFactory
StubPluginFactory(const std::string &pluginName)
Definition: StubPluginFactory.cpp:26
OpenSession24CmdBuild.h
AnswerToReset.h
keyple::plugin::stub::StubSecureElement
Definition: StubSecureElement.h:33
keyple::calypso::command::po
Definition: AbstractPoCommandBuilder.h:36
keyple::common::StringBuilder::capacity
std::size_t capacity()
Definition: stringbuilder.h:81
keyple::common::Arrays::hashCode
static int hashCode(const std::vector< char > a)
Definition: Arrays.h:57
keyple::core::seproxy::event::PluginEvent
Definition: PluginEvent.h:42
keyple::common::Thread::currentThreadId
static std::thread::id currentThreadId()
Definition: Thread.h:231
keyple::core::util::ByteArrayUtil::threeBytesSignedToInt
static int threeBytesSignedToInt(const std::vector< uint8_t > &bytes, const int offset)
Definition: ByteArrayUtil.cpp:125
keyple::calypso::transaction::exception::CalypsoPoAnomalyException::CalypsoPoAnomalyException
CalypsoPoAnomalyException(const std::string &message, const std::exception &cause)
Definition: CalypsoPoAnomalyException.h:40
keyple::calypso::transaction::SvDebitLogRecord::getSvTNum
int getSvTNum() const
Definition: SvDebitLogRecord.cpp:87
keyple::calypso::command::po::builder::storedvalue::SvUndebitCmdBuild::finalizeBuilder
void finalizeBuilder(const std::vector< uint8_t > &undebitComplementaryData)
Definition: SvUndebitCmdBuild.cpp:76
keyple::common::Thread::runThread
static void runThread(void *arg)
Definition: Thread.h:94
SelectionStatus.h
keyple::calypso::command::sam::parser::security::SamWriteKeyRespPars::SamWriteKeyRespPars
SamWriteKeyRespPars(const std::shared_ptr< ApduResponse > response, SamWriteKeyCmdBuild *builder)
Definition: SamWriteKeyRespPars.cpp:90
keyple::calypso::transaction::SamResourceManagerDefault::PluginObserver::mReaderObserver
const std::shared_ptr< ReaderObserver > mReaderObserver
Definition: SamResourceManagerDefault.h:90
StubPoolPlugin.h
keyple::core::util::bertlv::Tag::getTagSize
int getTagSize() const
Definition: Tag.cpp:81
keyple::core::seproxy::event::AbstractDefaultSelectionsRequest::getMultiSeRequestProcessing
virtual const MultiSeRequestProcessing & getMultiSeRequestProcessing() const final
Definition: AbstractDefaultSelectionsRequest.cpp:36
DigestInitCmdBuild.h
keyple::core::seproxy::event::ReaderEvent::getPluginName
const std::string & getPluginName() const
Definition: ReaderEvent.cpp:97
keyple::calypso::command::sam::SamRevision::S1D
static const SamRevision S1D
Definition: SamRevision.h:48
keyple::core::seproxy::plugin::MonitoringState::WAIT_FOR_START_DETECTION
@ WAIT_FOR_START_DETECTION
keyple::core::seproxy::plugin::AbstractObservableLocalReader::notifyObservers
void notifyObservers(const std::shared_ptr< ReaderEvent > event) final
Definition: AbstractObservableLocalReader.cpp:268
keyple::core::seproxy::plugin::AbstractObservableLocalReader::~AbstractObservableLocalReader
virtual ~AbstractObservableLocalReader()=default
keyple::common::exception::Exception
Definition: Exception.h:24
AssertionError.h
keyple::calypso::transaction::FileHeader::FileType::SIMULATED_COUNTERS
@ SIMULATED_COUNTERS
DigestCloseRespPars.h
keyple::core::seproxy::message::SelectionStatus::operator!=
bool operator!=(const SelectionStatus &o) const
Definition: SelectionStatus.cpp:60
keyple::core::command::SeCommand::SeCommand
SeCommand(const SeCommand &sc)=default
SvPrepareOperationRespPars.h
keyple::calypso::transaction::PoTransaction::prepareSvDebit
void prepareSvDebit(const int amount, const std::vector< uint8_t > &date, const std::vector< uint8_t > &time)
Definition: PoTransaction.cpp:1328
keyple::calypso::transaction::PoTransaction::SessionSetting::AccessLevel::operator==
bool operator==(const AccessLevel &o) const
Definition: PoTransaction.cpp:1400
keyple::calypso::command::po::builder::security::OpenSession31CmdBuild
Definition: OpenSession31CmdBuild.h:40
keyple::core::seproxy::plugin::AbstractObservableLocalReader::getCurrentMonitoringState
const MonitoringState & getCurrentMonitoringState() const
Definition: AbstractObservableLocalReader.cpp:233
keyple::plugin::pcsc::PcscReader::SETTING_PROTOCOL_TX
static const std::string SETTING_PROTOCOL_TX
Definition: PcscReader.h:42
keyple::common::exception::Exception::getMessage
const std::string & getMessage() const
Definition: Exception.h:45
keyple::core::seproxy::plugin::AbstractObservableState
Definition: AbstractObservableState.h:53
keyple::calypso::transaction::DirectoryHeader::getAccessConditions
const std::vector< uint8_t > & getAccessConditions() const
Definition: DirectoryHeader.cpp:95
keyple::plugin::pcsc::PcscReader::SETTING_TRANSMISSION_MODE_CONTACTS
static const std::string SETTING_TRANSMISSION_MODE_CONTACTS
Definition: PcscReader.h:36
keyple::calypso::command::sam::builder::security::GiveRandomCmdBuild::createResponseParser
std::shared_ptr< GiveRandomRespPars > createResponseParser(const std::shared_ptr< ApduResponse > apduResponse) override
Definition: GiveRandomCmdBuild.cpp:51
keyple::calypso::transaction::PoTransaction::SvSettings::Operation::DEBIT
@ DEBIT
std
Definition: KeypleStd.h:24
keyple::core::seproxy::protocol::TransmissionMode::NONE
@ NONE
keyple::plugin::stub::StubSecureElement::mHexCommands
std::unordered_map< std::string, std::string > mHexCommands
Definition: StubSecureElement.h:43
keyple::core::selection::SeSelection::SeSelection
SeSelection()
Definition: SeSelection.cpp:43
keyple::plugin::pcsc::PcscReader::SETTING_DISCONNECT_LEAVE
static const std::string SETTING_DISCONNECT_LEAVE
Definition: PcscReader.h:49
keyple::calypso::transaction::PoTransaction
Definition: PoTransaction.h:67
keyple::calypso::command::po::CalypsoPoCommand::INCREASE
static const CalypsoPoCommand INCREASE
Definition: CalypsoPoCommand.h:70
SamResourceManager.h
OpenSession31CmdBuild.h
keyple::core::util::ByteArrayUtil::toHex
static std::string toHex(const std::vector< char > &byteArray)
Definition: ByteArrayUtil.cpp:70
UpdateRecordRespPars.h
keyple::calypso::transaction::PoSelectorBuilder
PoSelector::PoSelectorBuilder PoSelectorBuilder
Definition: PoSelector.cpp:28
keyple::calypso::transaction::FileHeader::FileType::LINEAR
@ LINEAR
keyple::core::seproxy::protocol::SeCommonProtocols::values
static const std::vector< std::shared_ptr< SeCommonProtocol > > values
Definition: SeCommonProtocols.h:114
DecreaseCmdBuild.h
keyple::core::command::SeCommand::SeCommand
SeCommand()=default
OpenSession10RespPars.h
keyple::plugin::stub::StubReaderImpl::openPhysicalChannel
void openPhysicalChannel() override
Definition: StubReaderImpl.cpp:95
SamWriteKeyRespPars.h
keyple::calypso::transaction::DirectoryHeader::operator<<
friend KEYPLECALYPSO_API std::ostream & operator<<(std::ostream &os, const DirectoryHeader &dh)
Definition: DirectoryHeader.cpp:144
keyple::calypso::command::sam::exception::CalypsoSamUnknownStatusException
Definition: CalypsoSamUnknownStatusException.h:32
keyple::core::seproxy::event::AbstractDefaultSelectionsRequest
Definition: AbstractDefaultSelectionsRequest.h:47
keyple::common::Byte::equals
bool equals(Object *obj)
Definition: Byte.h:165
keyple::calypso::transaction::SamCommandProcessor::getSvReloadComplementaryData
const std::vector< uint8_t > getSvReloadComplementaryData(std::shared_ptr< SvReloadCmdBuild > svReloadCmdBuild, const std::vector< uint8_t > &svGetHeader, const std::vector< uint8_t > &svGetData)
Definition: SamCommandProcessor.cpp:560
keyple::core::seproxy::message::ApduRequest::~ApduRequest
virtual ~ApduRequest()
Definition: ApduRequest.h:92
keyple::core::seproxy::event::ReaderEvent::getEventType
const EventType & getEventType() const
Definition: ReaderEvent.cpp:107
keyple::calypso::transaction::CalypsoPo::setDfRatified
void setDfRatified(const bool dfRatified)
Definition: CalypsoPo.cpp:319
PcscPlugin.h
keyple::common::Byte::operator=
Byte & operator=(Byte other)
Definition: Byte.h:98
keyple::calypso::command::po::parser::storedvalue::SvGetRespPars::getTransactionNumber
int getTransactionNumber() const
Definition: SvGetRespPars.cpp:135
keyple::calypso::transaction::SamIdentifier::SamIdentifierBuilder::groupReference
SamIdentifierBuilder & groupReference(const std::string &groupReference)
Definition: SamIdentifier.cpp:96
keyple::calypso::transaction::CalypsoPoUtils::SEL_REC_SIZE_OFFSET
static const int SEL_REC_SIZE_OFFSET
Definition: CalypsoPoUtils.h:116
keyple::core::selection::AbstractSeSelectionRequest< AbstractPoCommandBuilder< AbstractPoResponseParser > >::getCommandBuilders
const std::vector< std::shared_ptr< AbstractPoCommandBuilder< AbstractPoResponseParser > > > getCommandBuilders() const
Definition: AbstractSeSelectionRequest.h:152
keyple::calypso::command::po::exception::CalypsoPoSecurityDataException::CalypsoPoSecurityDataException
CalypsoPoSecurityDataException(const std::string &message, const std::shared_ptr< CalypsoPoCommand > command, const int statusCode)
Definition: CalypsoPoSecurityDataException.h:38
WaitForStartDetect.h
KEYPLECORE_API
#define KEYPLECORE_API
Definition: KeypleCoreExport.h:23
keyple::core::seproxy::plugin::CardAbsentPingMonitoringJob
Definition: CardAbsentPingMonitoringJob.h:45
StubPoolPluginFactory.h
keyple::common::exception::SecurityException
Definition: SecurityException.h:22
keyple::core::util::bertlv::Tag::TagClass::APPLICATION
@ APPLICATION
keyple::plugin::pcsc::PcscProtocolSetting::getAllSettings
static const std::map< std::shared_ptr< SeCommonProtocol >, std::string > & getAllSettings()
Definition: PcscProtocolSetting.cpp:59
keyple::common::Character::digit
static char digit(char ch, int radix)
Definition: Character.h:22
keyple::calypso::command::sam::CalypsoSamCommand::getName
const std::string & getName() const
Definition: CalypsoSamCommand.cpp:44
keyple::core::command::AbstractApduResponseParser::StatusProperties::getInformation
const std::string & getInformation() const
Definition: AbstractApduResponseParser.cpp:155
keyple::calypso::command::po::parser::security::OpenSession32RespPars::toSecureSession
std::shared_ptr< SecureSession > toSecureSession(const std::vector< uint8_t > &apduResponseData)
Definition: OpenSession32RespPars.cpp:44
keyple::calypso::command::po::builder::UpdateRecordCmdBuild::getRecordNumber
uint8_t getRecordNumber() const
Definition: UpdateRecordCmdBuild.cpp:77
keyple::calypso::transaction::PoSelectionRequest
Definition: PoSelectionRequest.h:62
keyple::calypso::command::po::builder::security::ChangeKeyCmdBuild
Definition: ChangeKeyCmdBuild.h:40
keyple::calypso::transaction::AccessLevel
PoTransaction::SessionSetting::AccessLevel AccessLevel
Definition: DirectoryHeader.h:28
PoTransaction.h
keyple::calypso::command::sam::AbstractSamResponseParser::getBuilder
AbstractApduCommandBuilder * getBuilder() const override
Definition: AbstractSamResponseParser.cpp:68
keyple::core::seproxy::SeSelector::SeSelectorBuilder::SeSelectorBuilder
SeSelectorBuilder()
Definition: SeSelector.h:468
keyple::plugin::stub::StubReaderImpl::getATR
const std::vector< uint8_t > & getATR() override
Definition: StubReaderImpl.cpp:79
keyple::calypso::command::po::parser::security::AbstractOpenSessionRespPars::create
std::shared_ptr< AbstractOpenSessionRespPars > create(std::shared_ptr< ApduResponse > response, const PoRevision revision)
Definition: AbstractOpenSessionRespPars.cpp:164
KeyReference.h
keyple::calypso::transaction::PoSecuritySettings::getDefaultPinCipheringKey
const std::shared_ptr< KeyReference > getDefaultPinCipheringKey() const
Definition: PoSecuritySettings.cpp:116
keyple::calypso::transaction::PoTransaction::SessionState::SESSION_CLOSED
@ SESSION_CLOSED
keyple::calypso::transaction::DirectoryHeader::DirectoryHeaderBuilder::build
std::unique_ptr< DirectoryHeader > build()
Definition: DirectoryHeader.cpp:75
keyple::plugin::stub::StubPlugin::unplugStubReaders
virtual void unplugStubReaders(const std::set< std::string > &names, bool synchronous)=0
keyple::calypso::command::po::CalypsoPoCommand::OPEN_SESSION_32
static const CalypsoPoCommand OPEN_SESSION_32
Definition: CalypsoPoCommand.h:49
keyple::calypso::transaction::CalypsoPo::isDfInvalidated
bool isDfInvalidated() const
Definition: CalypsoPo.cpp:309
keyple::core::seproxy::message::ApduResponse::ApduResponse
ApduResponse(const std::vector< uint8_t > &buffer, std::shared_ptr< std::set< int >> successfulStatusCodes)
Definition: ApduResponse.cpp:31
keyple::calypso::command::po::parser::AppendRecordRespPars::AppendRecordRespPars
AppendRecordRespPars(std::shared_ptr< ApduResponse > response, AppendRecordCmdBuild *builder)
Definition: AppendRecordRespPars.cpp:88
keyple::core::seproxy::SeSelector::AtrFilter::atrMatches
virtual bool atrMatches(const std::vector< uint8_t > &atr)
Definition: SeSelector.cpp:195
keyple::core::seproxy::plugin::ExecutorService::ExecutorService
ExecutorService(const ExecutorService &o)=delete
keyple::calypso::command::sam::builder::security::CardCipherPinCmdBuild::CardCipherPinCmdBuild
CardCipherPinCmdBuild(const SamRevision &revision, const std::shared_ptr< KeyReference > cipheringKey, const std::vector< uint8_t > &currentPin, const std::vector< uint8_t > &newPin)
Definition: CardCipherPinCmdBuild.cpp:37
keyple::calypso::command::po::builder::security::PoGetChallengeCmdBuild::isSessionBufferUsed
virtual bool isSessionBufferUsed() const override
Definition: PoGetChallengeCmdBuild.cpp:54
keyple::plugin::pcsc::PcscReaderImpl::waitForCardAbsentNative
bool waitForCardAbsentNative() override
Definition: PcscReaderImpl.cpp:194
keyple::core::seproxy::event::ObservablePlugin::PluginObserver::~PluginObserver
virtual ~PluginObserver()=default
keyple::calypso::transaction::CalypsoPoUtils::SV_DEBIT_LOG_FILE_SFI
static const uint8_t SV_DEBIT_LOG_FILE_SFI
Definition: CalypsoPoUtils.h:133
PcscProtocolSetting.h
keyple::plugin::stub::StubReaderImpl::protocolFlagMatches
bool protocolFlagMatches(const std::shared_ptr< SeProtocol > protocolFlag) override
Definition: StubReaderImpl.cpp:124
StubReader.h
keyple::core::seproxy::message::ApduResponse::getStatusCode
uint16_t getStatusCode() const
Definition: ApduResponse.cpp:60
keyple::calypso::command::sam::AbstractSamCommandBuilder
Definition: AbstractSamCommandBuilder.h:48
keyple::calypso::command::po::CalypsoPoCommand::APPEND_RECORD
static const CalypsoPoCommand APPEND_RECORD
Definition: CalypsoPoCommand.h:64
keyple::calypso::transaction::PoTransaction::processCancel
void processCancel()
Definition: PoTransaction.cpp:791
keyple::core::seproxy::event::ObservableReader::NotificationMode::get
static NotificationMode get(const std::string &name)
Definition: ObservableReader.cpp:60
keyple::calypso::command::sam::builder::security::DigestUpdateCmdBuild::createResponseParser
std::shared_ptr< DigestUpdateRespPars > createResponseParser(const std::shared_ptr< ApduResponse > apduResponse) override
Definition: DigestUpdateCmdBuild.cpp:53
keyple::calypso::command::sam::AbstractSamCommandBuilder::getCommandRef
const std::shared_ptr< SeCommand > getCommandRef() const override
Definition: AbstractSamCommandBuilder.h:83
keyple::calypso::command::sam::StatusProperties
AbstractApduResponseParser::StatusProperties StatusProperties
Definition: AbstractSamResponseParser.cpp:40
KeypleReaderNotFoundException.h
keyple::common::ConcurrentMap::operator<<
friend std::ostream & operator<<(std::ostream &os, const ConcurrentMap< K, V > &cm)
Definition: ConcurrentMap.h:216
keyple::calypso::transaction::CalypsoPoUtils::SEL_LID_OFFSET
static const int SEL_LID_OFFSET
Definition: CalypsoPoUtils.h:126
keyple::plugin::stub::StubReaderImpl::getTransmissionMode
const TransmissionMode & getTransmissionMode() const override
Definition: StubReaderImpl.cpp:185
SvGetRespPars.h
keyple::calypso::transaction::PoTransaction::SessionSetting::AccessLevel::SESSION_LVL_PERSO
static const AccessLevel SESSION_LVL_PERSO
Definition: PoTransaction.h:194
PoGetChallengeCmdBuild.h
keyple::core::seproxy::SeProxyService::unregisterPlugin
bool unregisterPlugin(const std::string &pluginName)
Definition: SeProxyService.cpp:55
keyple::calypso::command::po::builder::security::OpenSession31CmdBuild::getRecordNumber
virtual uint8_t getRecordNumber() const override
Definition: OpenSession31CmdBuild.cpp:79
keyple::calypso::transaction::CalypsoSam::getPlatform
uint8_t getPlatform() const
Definition: CalypsoSam.cpp:116
keyple::plugin::pcsc::PcscReaderImpl::~PcscReaderImpl
~PcscReaderImpl()
Definition: PcscReaderImpl.cpp:82
keyple::calypso::command::po::parser::storedvalue::SvDebitRespPars::toString
const std::string toString() const
Definition: SvDebitRespPars.cpp:96
ObservableReader.h
keyple::core::seproxy::plugin::SmartRemovalReader::waitForCardAbsentNative
virtual bool waitForCardAbsentNative()=0
keyple::core::util::ByteArrayUtil::twoBytesSignedToInt
static int twoBytesSignedToInt(const std::vector< uint8_t > &bytes, const int offset)
Definition: ByteArrayUtil.cpp:102
keyple::calypso::command::po::builder::security::RehabilitateCmdBuild::RehabilitateCmdBuild
RehabilitateCmdBuild(const PoClass &poClass)
Definition: RehabilitateCmdBuild.cpp:28
keyple::calypso::command::po::builder::security::OpenSession31CmdBuild::createResponseParser
std::shared_ptr< AbstractOpenSessionRespPars > createResponseParser(std::shared_ptr< ApduResponse > apduResponse) override
Definition: OpenSession31CmdBuild.cpp:63
keyple::core::seproxy::plugin::CardPresentMonitoringJob::CardPresentMonitoringJob
CardPresentMonitoringJob(SeReader *reader, long waitTimeout, bool monitorInsertion)
Definition: CardPresentMonitoringJob.cpp:27
keyple::calypso::command::po::CalypsoPoCommand::SV_UNDEBIT
static const CalypsoPoCommand SV_UNDEBIT
Definition: CalypsoPoCommand.h:97
keyple::core::seproxy::plugin::AbstractObservableLocalReader::finalizeSeProcessing
void finalizeSeProcessing() override
Definition: AbstractObservableLocalReader.cpp:297
CalypsoPoUnknownStatusException.h
keyple::core::seproxy::event::PluginEvent::getEventType
const EventType & getEventType() const
Definition: PluginEvent.cpp:99
keyple::calypso::command::po::builder::security::AbstractOpenSessionCmdBuild
Definition: AbstractOpenSessionCmdBuild.h:66
keyple::calypso::transaction::PoSecuritySettings::PoSecuritySettingsBuilder::build
std::shared_ptr< PoSecuritySettings > build()
Definition: PoSecuritySettings.cpp:214
keyple::calypso::command::po::parser::security::RehabilitateRespPars::getStatusTable
const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const override
Definition: RehabilitateRespPars.cpp:64
keyple::calypso::command::po::parser::security::RehabilitateRespPars
Definition: RehabilitateRespPars.h:35
SvUndebitCmdBuild.h
keyple::plugin::stub::StubPluginImpl::setParameter
void setParameter(const std::string &key, const std::string &value) override
Definition: StubPluginImpl.cpp:46
keyple::calypso::command::po::builder::ReadRecordsCmdBuild::getSfi
uint8_t getSfi() const
Definition: ReadRecordsCmdBuild.cpp:78
keyple::calypso::transaction::PoSelector::InvalidatedPo::ACCEPT
@ ACCEPT
keyple::core::seproxy::message::ApduRequest
Definition: ApduRequest.h:39
keyple::calypso::command::po::builder::security::PoGetChallengeCmdBuild::createResponseParser
std::shared_ptr< PoGetChallengeRespPars > createResponseParser(std::shared_ptr< ApduResponse > apduResponse) override
Definition: PoGetChallengeCmdBuild.cpp:48
keyple::core::seproxy::SeSelector::AidSelector::FileControlInformation
Definition: SeSelector.h:129
keyple::calypso::transaction::CalypsoPo::setPinAttemptRemaining
void setPinAttemptRemaining(const int pinAttemptCounter)
Definition: CalypsoPo.cpp:564
keyple::core::seproxy::plugin::SmartInsertionReader::waitForCardPresent
virtual bool waitForCardPresent()=0
keyple::common::StringBuilder::StringBuilder
StringBuilder(const std::string &initialString)
Definition: stringbuilder.h:29
keyple::calypso::command::po::builder::security::OpenSession10CmdBuild
Definition: OpenSession10CmdBuild.h:40
keyple::calypso::transaction::FileHeader
Definition: FileHeader.h:33
keyple::core::seproxy
Definition: AbstractDefaultSelectionsRequest.cpp:18
PcscTerminal.h
keyple::calypso::transaction::CalypsoPo::setDirectoryHeader
CalypsoPo * setDirectoryHeader(const std::shared_ptr< DirectoryHeader > directoryHeader)
Definition: CalypsoPo.cpp:334
keyple::plugin::stub::StubPoolPluginImpl::mReaderPool
std::map< const std::string, std::shared_ptr< StubReaderImpl > > mReaderPool
Definition: StubPoolPluginImpl.h:51
keyple::common::exception::InvocationTargetException::InvocationTargetException
InvocationTargetException(const std::string &message)
Definition: InvocationTargetException.h:27
keyple::calypso::transaction::SamSelector::SamSelectorBuilder::aidSelector
SamSelectorBuilder & aidSelector(const std::shared_ptr< AidSelector > aidSelector) override
Definition: SamSelector.cpp:144
keyple::core::command::exception::KeypleSeCommandException::getStatusCode
int getStatusCode() const
Definition: KeypleSeCommandException.h:50
keyple::calypso::command::sam::builder::security::SamWriteKeyCmdBuild::SamWriteKeyCmdBuild
SamWriteKeyCmdBuild(const SamRevision &revision, const uint8_t writingMode, const uint8_t keyReference, const std::vector< uint8_t > &keyData)
Definition: SamWriteKeyCmdBuild.cpp:33
keyple::plugin::pcsc::PcscPlugin
Definition: PcscPlugin.h:27
keyple::core::seproxy::plugin::AbstractLocalReader::setForceGetDataFlag
virtual void setForceGetDataFlag(bool forceGetDataFlag)
Definition: AbstractLocalReader.cpp:76
keyple::calypso::command::sam::operator<<
std::ostream & operator<<(std::ostream &os, const SamRevision &sr)
Definition: SamRevision.cpp:92
keyple::core::seproxy::exception::KeypleReaderException
Definition: KeypleReaderException.h:37
keyple::calypso::transaction::PoCommandManager
Definition: PoCommandManager.h:44
TLV.h
keyple::calypso::command::po::AbstractPoResponseParser
Definition: AbstractPoResponseParser.h:33
keyple::calypso::command::po::builder::storedvalue::SvGetCmdBuild
Definition: SvGetCmdBuild.h:45
keyple::calypso::command::po::builder::security::CloseSessionCmdBuild
Definition: CloseSessionCmdBuild.h:45
keyple::core::seproxy::plugin::AbstractLocalReader::openPhysicalChannel
virtual void openPhysicalChannel()=0
keyple::core::seproxy::SeReader::operator<<
friend std::ostream & operator<<(std::ostream &os, const std::shared_ptr< SeReader > sr)
Definition: SeReader.h:108
keyple::calypso::command::po::CalypsoPoCommand::CLOSE_SESSION
static const CalypsoPoCommand CLOSE_SESSION
Definition: CalypsoPoCommand.h:52
keyple::common::StringBuilder::length
std::size_t length()
Definition: stringbuilder.h:71
keyple::core::seproxy::message::ProxyReader::transmitSeRequest
virtual std::shared_ptr< SeResponse > transmitSeRequest(std::shared_ptr< SeRequest > seRequest, const ChannelControl &channelControl)=0
keyple::common::exception::SecurityException::SecurityException
SecurityException(const std::string &message, const std::exception cause)
Definition: SecurityException.h:32
keyple::calypso::command::po::exception::CalypsoPoIllegalParameterException::CalypsoPoIllegalParameterException
CalypsoPoIllegalParameterException(const std::string &message, const std::shared_ptr< CalypsoPoCommand > command, const int statusCode)
Definition: CalypsoPoIllegalParameterException.h:38
keyple::common::exception::Error
Definition: Error.h:23
keyple::plugin::pcsc::PcscPluginImpl::getName
virtual const std::string & getName() const final
Definition: PcscPluginImpl.h:76
keyple::core::seproxy::message::SeResponse::getApduResponses
std::vector< std::shared_ptr< ApduResponse > > & getApduResponses()
Definition: SeResponse.cpp:52
keyple::calypso::transaction::exception::CalypsoSessionAuthenticationException::CalypsoSessionAuthenticationException
CalypsoSessionAuthenticationException(const std::string &message)
Definition: CalypsoSessionAuthenticationException.h:35
keyple::core::seproxy::plugin::AbstractPlugin
Definition: AbstractPlugin.h:41
keyple::common::ConcurrentMap::key_type
K key_type
Definition: ConcurrentMap.h:31
keyple::calypso::transaction::FileHeader::builder
static std::unique_ptr< FileHeaderBuilder > builder()
Definition: FileHeader.cpp:87
keyple::core::seproxy::plugin::EventType
PluginEvent::EventType EventType
Definition: AbstractThreadedObservablePlugin.cpp:34
keyple::calypso::command::po::builder::security::RatificationCmdBuild::getApduRequest
static std::shared_ptr< ApduRequest > getApduRequest(const PoClass &poClass)
Definition: RatificationCmdBuild.cpp:25
keyple::core::util::bertlv::Tag::getTagType
TagType getTagType() const
Definition: Tag.cpp:76
keyple::calypso::transaction::PoSelector::PoSelectorBuilder::atrFilter
PoSelectorBuilder & atrFilter(const std::shared_ptr< AtrFilter > atrFilter) override
Definition: PoSelector.cpp:64
keyple::core::seproxy::event::AbstractDefaultSelectionsResponse::AbstractDefaultSelectionsResponse
AbstractDefaultSelectionsResponse(const std::vector< std::shared_ptr< SeResponse >> &selectionSeResponses)
Definition: AbstractDefaultSelectionsResponse.cpp:22
keyple::common::Arrays::equals
static bool equals(const std::vector< uint8_t > &a1, const std::vector< uint8_t > &a2)
Definition: Arrays.h:42
keyple::calypso::transaction::exception::CalypsoAtomicTransactionException
Definition: CalypsoAtomicTransactionException.h:30
keyple::core::seproxy::event::ObservableReader::NotificationMode
Definition: ObservableReader.h:64
stringhelper.h
keyple::calypso::command::po::parser::security::AbstractOpenSessionRespPars::AbstractOpenSessionRespPars
AbstractOpenSessionRespPars(std::shared_ptr< ApduResponse > response, AbstractOpenSessionCmdBuild< AbstractOpenSessionRespPars > *builder, const PoRevision revision)
Definition: AbstractOpenSessionRespPars.cpp:134
keyple::core::seproxy::plugin::AbstractLocalReader::terminateSeCommunication
virtual void terminateSeCommunication()=0
keyple::core::seproxy::SeSelector::AidSelector::FileControlInformation::FileControlInformation
FileControlInformation(const uint8_t isoBitMask)
Definition: SeSelector.cpp:89
CalypsoNoSamResourceAvailableException.h
keyple::calypso::command::po::parser::security::AbstractOpenSessionRespPars::SecureSession::getChallengeTransactionCounter
virtual const std::vector< uint8_t > & getChallengeTransactionCounter() const
Definition: AbstractOpenSessionRespPars.cpp:279
keyple::common::ConcurrentMap::find
const_iterator find(const key_type &k)
Definition: ConcurrentMap.h:155
keyple::calypso::command::sam::SamRevision::operator!=
bool operator!=(const SamRevision &o) const
Definition: SamRevision.cpp:63
keyple::core::seproxy::plugin::AbstractSeProxyComponent::getName
const std::string & getName() const
Definition: AbstractSeProxyComponent.cpp:23
keyple::calypso::transaction::FileHeader::FileHeaderBuilder::FileHeader
friend FileHeader
Definition: FileHeader.h:57
DirectoryHeader.h
keyple::calypso::command::po::AbstractPoCommandBuilder::~AbstractPoCommandBuilder
virtual ~AbstractPoCommandBuilder()=default
GiveRandomCmdBuild.h
keyple::calypso::command::po::builder
Definition: AppendRecordCmdBuild.cpp:30
keyple::common::exception::IllegalAccessException
Definition: IllegalAccessException.h:22
keyple::common::Boolean::Boolean
Boolean(bool value)
Definition: Boolean.h:40
keyple::calypso::transaction::CalypsoPo::getPlatform
uint8_t getPlatform() const
Definition: CalypsoPo.cpp:249
keyple::common::LoggerFactory::getLogger
static std::shared_ptr< Logger > getLogger(const std::type_info &type)
Definition: LoggerFactory.cpp:21
keyple::calypso::transaction::PoTransaction::processClosing
void processClosing()
Definition: PoTransaction.cpp:701
keyple::calypso::transaction::operator<<
std::ostream & operator<<(std::ostream &os, const DirectoryHeader &dh)
Definition: DirectoryHeader.cpp:144
keyple::plugin::pcsc::PcscPluginImpl::getParameters
const std::map< const std::string, const std::string > & getParameters() const override
Definition: PcscPluginImpl.cpp:52
keyple::calypso::command::po::builder::WriteRecordCmdBuild
Definition: WriteRecordCmdBuild.h:43
keyple::calypso::command::po::exception::CalypsoPoDataOutOfBoundsException::CalypsoPoDataOutOfBoundsException
CalypsoPoDataOutOfBoundsException(const std::string &message, const std::shared_ptr< CalypsoPoCommand > command, const int statusCode)
Definition: CalypsoPoDataOutOfBoundsException.h:40
CalypsoPoTransactionException.h
keyple::calypso::transaction::PoSecuritySettings::PoSecuritySettingsBuilder::pinCipheringKey
PoSecuritySettingsBuilder & pinCipheringKey(const uint8_t kif, const uint8_t kvc)
Definition: PoSecuritySettings.cpp:193
keyple::plugin::pcsc::PcscReaderImpl::waitForCardPresent
bool waitForCardPresent() override
Definition: PcscReaderImpl.cpp:152
keyple::plugin::pcsc::PcscPluginImpl
Definition: PcscPluginImpl.h:48
keyple::core::seproxy::event::AbstractDefaultSelectionsRequest::getSelectionSeRequests
virtual const std::vector< std::shared_ptr< SeRequest > > & getSelectionSeRequests() const final
Definition: AbstractDefaultSelectionsRequest.cpp:30
keyple::plugin::pcsc::PcscReader::SETTING_MODE_SHARED
static const std::string SETTING_MODE_SHARED
Definition: PcscReader.h:45
IncreaseRespPars.h
AbstractObservableState.h
keyple::calypso::command::sam::parser::security::SamReadCeilingsRespPars::SamReadCeilingsRespPars
SamReadCeilingsRespPars(const std::shared_ptr< ApduResponse > response, SamReadCeilingsCmdBuild *builder)
Definition: SamReadCeilingsRespPars.cpp:63
AbstractIso7816CommandBuilder.h
keyple::common::ConcurrentMap::insert
iterator insert(const_iterator position, P &&val)
Definition: ConcurrentMap.h:93
keyple::calypso::command::sam::parser::security::DigestInitRespPars::getStatusTable
const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const override
Definition: DigestInitRespPars.cpp:80
keyple::common::System::arraycopy
static void arraycopy(const std::vector< uint8_t > &src, int srcPos, std::vector< char > &dest, int destPos, int length)
Definition: System.h:55
keyple::calypso::command::sam::exception::CalypsoSamCounterOverflowException
Definition: CalypsoSamCounterOverflowException.h:32
keyple::core::seproxy::plugin::AbstractObservableLocalReader
Definition: AbstractObservableLocalReader.h:114
CardAbsentPingMonitoringJob.h
keyple::calypso::transaction::FileHeader::FileHeaderBuilder
Definition: FileHeader.h:52
keyple::calypso::command::sam::builder::security::SamReadEventCounterCmdBuild::SamEventCounterOperationType
SamEventCounterOperationType
Definition: SamReadEventCounterCmdBuild.h:56
keyple::plugin::stub::StubPluginImpl::getName
const std::string & getName() const override
Definition: StubPluginImpl.h:114
keyple::calypso::transaction::PoSecuritySettings::PoSecuritySettingsBuilder::mSessionModificationMode
ModificationMode mSessionModificationMode
Definition: PoSecuritySettings.h:74
keyple::calypso::transaction::PoSelector::PoSelectorBuilder::build
std::shared_ptr< SeSelector > build() override
Definition: PoSelector.cpp:74
keyple::core::seproxy::SeSelector::AidSelector::AidSelectorBuilder
friend AidSelectorBuilder
Definition: SeSelector.h:264
keyple::calypso::command::sam::exception::CalypsoSamDataAccessException
Definition: CalypsoSamDataAccessException.h:33
keyple::common::StringBuilder::setLength
void setLength(std::size_t newLength)
Definition: stringbuilder.h:76
keyple::calypso::command::sam::builder::security::UnlockCmdBuild::createResponseParser
std::shared_ptr< UnlockRespPars > createResponseParser(std::shared_ptr< ApduResponse > apduResponse) override
Definition: UnlockCmdBuild.cpp:54
SamReadCeilingsCmdBuild.h
keyple::calypso::transaction::SamResourceManager::ManagedSamResource::SamResourceStatus::FREE
@ FREE
keyple::calypso::command::sam::builder::security::SelectDiversifierCmdBuild::SelectDiversifierCmdBuild
SelectDiversifierCmdBuild(const SamRevision &revision, const std::vector< uint8_t > &diversifier)
Definition: SelectDiversifierCmdBuild.cpp:33
keyple::core::selection::SeSelection::processDefaultSelection
std::shared_ptr< SelectionsResult > processDefaultSelection(std::shared_ptr< AbstractDefaultSelectionsResponse > defaultSelectionsResponse)
Definition: SeSelection.cpp:108
keyple::calypso::transaction::DirectoryHeader::DirectoryHeaderBuilder::accessConditions
DirectoryHeaderBuilder & accessConditions(const std::vector< uint8_t > &accessConditions)
Definition: DirectoryHeader.cpp:44
keyple::calypso::command::po::CalypsoPoCommand::CalypsoPoCommand
CalypsoPoCommand(const std::string &name, const uint8_t instructionByte)
Definition: CalypsoPoCommand.cpp:55
keyple::core::seproxy::exception::KeyplePluginNotFoundException
Definition: KeyplePluginNotFoundException.h:32
keyple::calypso::transaction::PoTransaction::SessionState
SessionState
Definition: PoTransaction.h:73
keyple::core::seproxy::exception::KeyplePluginNotFoundException::KeyplePluginNotFoundException
KeyplePluginNotFoundException(const std::string &pluginName)
Definition: KeyplePluginNotFoundException.h:37
keyple::calypso::transaction::SvLoadLogRecord::getLoadDateBytes
const std::vector< uint8_t > getLoadDateBytes() const
Definition: SvLoadLogRecord.cpp:62
SeResponse.h
DigestUpdateRespPars.h
keyple::core::seproxy::PluginFactory::getPluginName
virtual const std::string & getPluginName() const =0
keyple::calypso::transaction::CalypsoPoUtils::SEL_KVCS_OFFSET
static const int SEL_KVCS_OFFSET
Definition: CalypsoPoUtils.h:123
keyple::calypso::transaction::exception::CalypsoPoCloseSecureSessionException::CalypsoPoCloseSecureSessionException
CalypsoPoCloseSecureSessionException(const std::string &message, const std::exception &cause)
Definition: CalypsoPoCloseSecureSessionException.h:46
keyple::common::exception
Definition: AssertionError.h:20
keyple::common::StringHelper::toString
static std::string toString(const T &subject)
Definition: stringhelper.h:90
keyple::calypso::exception
Definition: CalypsoNoSamResourceAvailableException.h:24
keyple::calypso::command::po::builder::security::OpenSession32CmdBuild::isSessionBufferUsed
virtual bool isSessionBufferUsed() const override
Definition: OpenSession32CmdBuild.cpp:78
keyple::core::seproxy::plugin::AbstractMonitoringJob::startMonitoring
virtual std::future< void > startMonitoring(AbstractObservableState *state, std::atomic< bool > &cancellationFlag)=0
keyple::calypso::transaction::SamCommandProcessor::getSvDebitComplementaryData
const std::vector< uint8_t > getSvDebitComplementaryData(std::shared_ptr< SvDebitCmdBuild > svDebitCmdBuild, const std::vector< uint8_t > &svGetHeader, const std::vector< uint8_t > &svGetData)
Definition: SamCommandProcessor.cpp:576
keyple::calypso::command::po::builder::storedvalue::SvDebitCmdBuild::finalizeBuilder
void finalizeBuilder(const std::vector< uint8_t > &debitComplementaryData)
Definition: SvDebitCmdBuild.cpp:73
keyple::calypso::command::po::builder::ReadRecordsCmdBuild::isSessionBufferUsed
bool isSessionBufferUsed() const override
Definition: ReadRecordsCmdBuild.cpp:73
keyple::calypso::command::sam::builder::security::SamGetChallengeCmdBuild
Definition: SamGetChallengeCmdBuild.h:42
OpenSession32RespPars.h
IOException.h
keyple::calypso::command::sam::parser::security::SamGetChallengeRespPars::SamGetChallengeRespPars
SamGetChallengeRespPars(const std::shared_ptr< ApduResponse > response, SamGetChallengeCmdBuild *builder)
Definition: SamGetChallengeRespPars.cpp:49
SeResource.h
ProxyReader.h
keyple::calypso::command::po::builder::GetDataTraceCmdBuild::isSessionBufferUsed
bool isSessionBufferUsed() const override
Definition: GetDataTraceCmdBuild.cpp:43
keyple::calypso::transaction::SamSelector
Definition: SamSelector.h:41
keyple::calypso::transaction::exception::CalypsoPoTransactionException::CalypsoPoTransactionException
CalypsoPoTransactionException(const std::string &message, const std::exception &cause)
Definition: CalypsoPoTransactionException.h:42
keyple::core::seproxy::SeProxyService::getPlugins
const std::map< const std::string, std::shared_ptr< ReaderPlugin > > & getPlugins() const
Definition: SeProxyService.cpp:76
ElementaryFile.h
keyple::common::Character::isWhitespace
static bool isWhitespace(int codePoint)
Definition: Character.h:51
keyple::core::seproxy::ProxyElement::getName
virtual const std::string & getName() const =0
keyple::core::command::AbstractApduCommandBuilder::~AbstractApduCommandBuilder
virtual ~AbstractApduCommandBuilder()=default
keyple::calypso::SelectFileControl
SelectFileControl
Definition: SelectFileControl.h:25
keyple::calypso::transaction::exception::CalypsoSessionAuthenticationException::CalypsoSessionAuthenticationException
CalypsoSessionAuthenticationException(const std::string &message, const std::exception &cause)
Definition: CalypsoSessionAuthenticationException.h:44
keyple::core::seproxy::plugin::SmartInsertionMonitoringJob::monitoringJob
void monitoringJob(AbstractObservableState *state, std::atomic< bool > &cancellationFlag)
Definition: SmartInsertionMonitoringJob.cpp:35
keyple::core::seproxy::event::ObservableReader::NotificationMode::~NotificationMode
virtual ~NotificationMode()
Definition: ObservableReader.h:114
CalypsoSamIllegalParameterException.h
keyple::core::seproxy::plugin::AbstractSeProxyComponent
Definition: AbstractSeProxyComponent.h:31
keyple::calypso::transaction::PoSelectionRequest::PoSelectionRequest
PoSelectionRequest(std::shared_ptr< PoSelector > poSelector)
Definition: PoSelectionRequest.cpp:53
keyple::core::seproxy::message::SeResponse::SeResponse
SeResponse(const bool logicalChannelIsOpen, const bool channelPreviouslyOpen, std::shared_ptr< SelectionStatus > selectionStatus, const std::vector< std::shared_ptr< ApduResponse >> &apduResponses)
Definition: SeResponse.cpp:27
CalypsoPoSecurityDataException.h
keyple::calypso::command::po::builder::security::VerifyPinCmdBuild::createResponseParser
std::shared_ptr< VerifyPinRespPars > createResponseParser(std::shared_ptr< ApduResponse > apduResponse) override
Definition: VerifyPinCmdBuild.cpp:68
keyple::plugin::pcsc::PcscReaderImpl::getTransmissionMode
const TransmissionMode & getTransmissionMode() const override
Definition: PcscReaderImpl.cpp:453
keyple::core::seproxy::plugin::ObservableReaderNotifier::notifyObservers
virtual void notifyObservers(const std::shared_ptr< ReaderEvent > event)=0
keyple::calypso::command::sam::AbstractSamResponseParser::buildCommandException
const KeypleSeCommandException buildCommandException(const std::type_info &exceptionClass, const std::string &message, const std::shared_ptr< SeCommand > commandRef, const int statusCode) const override
Definition: AbstractSamResponseParser.cpp:73
keyple::calypso::transaction::CalypsoPo::getFileBySfi
const std::shared_ptr< ElementaryFile > getFileBySfi(const uint8_t sfi) const
Definition: CalypsoPo.cpp:342
keyple::core::seproxy::plugin::ObservableReaderStateService
Definition: ObservableReaderStateService.h:35
keyple::calypso::transaction::SamResourceManager::freeSamResource
virtual void freeSamResource(const SeResource< CalypsoSam > &samResource)=0
keyple::core::util::KeypleAssert::notNull
const KeypleAssert & notNull(void *obj, const std::string &name) const
Definition: KeypleAssert.cpp:34
keyple::core::seproxy::event::EventType
PluginEvent::EventType EventType
Definition: PluginEvent.cpp:28
keyple::core::command::AbstractApduCommandBuilder::mRequest
std::shared_ptr< ApduRequest > mRequest
Definition: AbstractApduCommandBuilder.h:103
keyple::calypso::transaction::PoTransaction::SessionSetting::ModificationMode
ModificationMode
Definition: PoTransaction.h:167
keyple::calypso::transaction::SamSelector::SamSelectorBuilder
Definition: SamSelector.h:48
keyple::calypso::command::po::builder::storedvalue::SvReloadCmdBuild::finalizeBuilder
void finalizeBuilder(const std::vector< uint8_t > &reloadComplementaryData)
Definition: SvReloadCmdBuild.cpp:76
keyple::core::seproxy::plugin::WaitForSeRemoval::onEvent
void onEvent(const InternalEvent event) override
Definition: WaitForSeRemoval.cpp:33
keyple::core::util::KeypleAssert::greaterOrEqual
const KeypleAssert & greaterOrEqual(const int number, const int minValue, const std::string &name) const
Definition: KeypleAssert.cpp:70
keyple::calypso::command::sam::exception::CalypsoSamCounterOverflowException::CalypsoSamCounterOverflowException
CalypsoSamCounterOverflowException(const std::string &message, const std::shared_ptr< CalypsoSamCommand > command, const int statusCode)
Definition: CalypsoSamCounterOverflowException.h:39
keyple::calypso::command::sam::builder::security::SvPrepareDebitCmdBuild::createResponseParser
std::shared_ptr< SvPrepareOperationRespPars > createResponseParser(const std::shared_ptr< ApduResponse > apduResponse) override
Definition: SvPrepareDebitCmdBuild.cpp:55
keyple::calypso::transaction::SvDebitLogRecord::toString
const std::string toString() const
Definition: SvDebitLogRecord.cpp:114
keyple::common::StringBuilder::ensureCapacity
void ensureCapacity(std::size_t minimumCapacity)
Definition: stringbuilder.h:86
keyple::core::seproxy::SeSelector::SeSelectorBuilder
Definition: SeSelector.h:418
keyple::calypso::transaction::PoTransaction::SessionSetting::RatificationMode::CLOSE_RATIFIED
@ CLOSE_RATIFIED
keyple::common::System
Definition: System.h:28
keyple::common::exception::InstantiationException
Definition: InstantiationException.h:22
keyple::core::seproxy::message::ApduResponse
Definition: ApduResponse.h:35
keyple::calypso::transaction::PoSecuritySettings
Definition: PoSecuritySettings.h:44
Exception.h
keyple::calypso::command::sam::SamRevision::C1
static const SamRevision C1
Definition: SamRevision.h:38
keyple::core::seproxy::plugin::AbstractPlugin::getReaderNames
virtual const std::set< std::string > getReaderNames() const override
Definition: AbstractPlugin.cpp:53
keyple::calypso::command::sam::SamRevision::operator==
bool operator==(const SamRevision &o) const
Definition: SamRevision.cpp:56
keyple::plugin::stub::StubReaderImpl::transmitApdu
std::vector< uint8_t > transmitApdu(const std::vector< uint8_t > &apduIn) override
Definition: StubReaderImpl.cpp:114
keyple::calypso::command::sam::parser::security::DigestInitRespPars
Definition: DigestInitRespPars.h:43
DigestUpdateMultipleCmdBuild.h
keyple::core::seproxy::SeReader::getTransmissionMode
virtual const TransmissionMode & getTransmissionMode() const =0
keyple::calypso::command::po::parser::security::CloseSessionRespPars::getPostponedData
const std::vector< uint8_t > & getPostponedData() const
Definition: CloseSessionRespPars.cpp:106
ObservableReaderStateService.h
SeCommonProtocols.h
keyple::core::seproxy::plugin::ObservablePluginNotifier::notifyObservers
virtual void notifyObservers(const std::shared_ptr< PluginEvent > event)=0
keyple::core::command::AbstractApduResponseParser::getStatusTable
virtual const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const
Definition: AbstractApduResponseParser.cpp:43
keyple::calypso::command::po::parser::storedvalue::SvGetRespPars::getDebitLog
const std::shared_ptr< SvDebitLogRecord > getDebitLog() const
Definition: SvGetRespPars.cpp:160
SamGetChallengeRespPars.h
keyple::core::seproxy::PluginFactory::getPlugin
virtual std::shared_ptr< ReaderPlugin > getPlugin() const =0
SamResourceManagerFactory.h
keyple::calypso::command::sam::CalypsoSamCommand::DIGEST_AUTHENTICATE
static const CalypsoSamCommand DIGEST_AUTHENTICATE
Definition: CalypsoSamCommand.h:63
keyple::common::Logger::setLoggerLevel
static void setLoggerLevel(Level level)
Definition: Logger.cpp:31
keyple::calypso::SelectFileControl::NONE
@ NONE
keyple::common::exception::IllegalStateException::IllegalStateException
IllegalStateException(const std::string &message, const std::exception cause)
Definition: IllegalStateException.h:32
keyple::core::seproxy::plugin::AbstractPlugin::mNativeReaders
ConcurrentMap< const std::string, std::shared_ptr< SeReader > > mNativeReaders
Definition: AbstractPlugin.h:116
keyple::calypso::transaction::CalypsoPo::fillContent
void fillContent(const uint8_t sfi, const int numRecord, std::vector< uint8_t > &content)
Definition: CalypsoPo.cpp:405
keyple::calypso::transaction::exception::CalypsoSvAuthenticationException
Definition: CalypsoSvAuthenticationException.h:30
AbstractPoResponseParser.h
keyple::core::seproxy::plugin::SmartRemovalReader::~SmartRemovalReader
virtual ~SmartRemovalReader()
Definition: SmartRemovalReader.h:32
keyple::calypso::transaction::CalypsoPo::backupFiles
void backupFiles()
Definition: CalypsoPo.cpp:419
keyple::calypso::transaction::exception::CalypsoPoRevokedException
Definition: CalypsoPoRevokedException.h:28
keyple::calypso::transaction::CalypsoPoUtils::NB_CNT_MIN
static const int NB_CNT_MIN
Definition: CalypsoPoUtils.h:79
keyple::core::seproxy::plugin::AbstractThreadedObservablePlugin::addObserver
void addObserver(const std::shared_ptr< ObservablePlugin::PluginObserver > observer) final
Definition: AbstractThreadedObservablePlugin.cpp:54
keyple::core::seproxy::message::ApduResponse::getBytes
const std::vector< uint8_t > & getBytes() const
Definition: ApduResponse.cpp:73
keyple::calypso::transaction::CalypsoSam::getApplicationType
uint8_t getApplicationType() const
Definition: CalypsoSam.cpp:121
keyple::calypso::transaction::SamResourceManagerDefault::ReaderObserver::ReaderObserver
ReaderObserver(SamResourceManagerDefault &parent)
Definition: SamResourceManagerDefault.cpp:361
keyple::common::exception::InvocationTargetException::InvocationTargetException
InvocationTargetException(const std::string &message, const std::exception cause)
Definition: InvocationTargetException.h:32
keyple::core::seproxy::exception::KeypleReaderNotFoundException::KeypleReaderNotFoundException
KeypleReaderNotFoundException(const std::string &readerName)
Definition: KeypleReaderNotFoundException.h:36
keyple::calypso::transaction::SvDebitLogRecord::getSvTNumBytes
const std::vector< uint8_t > getSvTNumBytes() const
Definition: SvDebitLogRecord.cpp:92
keyple::common::exception::IllegalArgumentException::IllegalArgumentException
IllegalArgumentException(const std::string &message, const std::exception cause)
Definition: IllegalArgumentException.h:32
keyple::calypso::command::po::builder::security::VerifyPinCmdBuild::VerifyPinCmdBuild
VerifyPinCmdBuild(const PoClass &poClass, const PinTransmissionMode &pinTransmissionMode, const std::vector< uint8_t > &pin)
Definition: VerifyPinCmdBuild.cpp:32
keyple::calypso::command::sam::parser::security::SamWriteKeyRespPars::getStatusTable
const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const override
Definition: SamWriteKeyRespPars.cpp:98
keyple::plugin::stub::StubPlugin
Definition: StubPlugin.h:49
keyple::common::exception::NumberFormatException
Definition: NumberFormatException.h:22
CardCipherPinRespPars.h
keyple::plugin::stub::StubPluginFactory::getPlugin
std::shared_ptr< ReaderPlugin > getPlugin() const override
Definition: StubPluginFactory.cpp:35
keyple::core::seproxy::plugin::AbstractReader::~AbstractReader
virtual ~AbstractReader()=default
keyple::calypso::transaction::SamSelector::getTargetSamRevision
const SamRevision getTargetSamRevision() const
Definition: SamSelector.cpp:75
keyple::calypso::command::po::builder::storedvalue::SvReloadCmdBuild::createResponseParser
std::shared_ptr< SvReloadRespPars > createResponseParser(std::shared_ptr< ApduResponse > apduResponse) override
Definition: SvReloadCmdBuild.cpp:108
SvDebitLogRecord.h
keyple::core::seproxy::event::PluginEvent::EventType::operator!=
bool operator!=(const EventType &o) const
Definition: PluginEvent.cpp:47
keyple::calypso::command::po::builder::security::InvalidateCmdBuild::isSessionBufferUsed
virtual bool isSessionBufferUsed() const override
Definition: InvalidateCmdBuild.cpp:45
SelectDiversifierRespPars.h
keyple::calypso::command::po::parser::security::AbstractOpenSessionRespPars::SecureSession::getKVC
virtual uint8_t getKVC() const
Definition: AbstractOpenSessionRespPars.cpp:304
keyple::calypso::command::po::builder::AppendRecordCmdBuild::createResponseParser
std::shared_ptr< AppendRecordRespPars > createResponseParser(std::shared_ptr< ApduResponse > apduResponse) override
Definition: AppendRecordCmdBuild.cpp:57
keyple::calypso::transaction::PoSecuritySettings::getSvGetLogReadMode
LogRead getSvGetLogReadMode() const
Definition: PoSecuritySettings.cpp:121
keyple::calypso::transaction::PoSelector
Definition: PoSelector.h:34
AbstractObservableLocalReader.h
keyple::common::Thread::run
virtual void * run()=0
keyple::calypso::transaction::PoSecuritySettings::getSessionModificationMode
ModificationMode getSessionModificationMode() const
Definition: PoSecuritySettings.cpp:61
keyple::plugin::stub::StubProtocolSetting::getAllSettings
static const std::map< std::shared_ptr< SeCommonProtocol >, std::string > & getAllSettings()
Definition: StubProtocolSetting.cpp:64
keyple::calypso::command::po::parser::SelectFileRespPars::getStatusTable
const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const override
Definition: SelectFileRespPars.cpp:82
keyple::calypso::command::po::builder::security::OpenSession24CmdBuild::OpenSession24CmdBuild
OpenSession24CmdBuild(uint8_t keyIndex, const std::vector< uint8_t > &samChallenge, uint8_t sfi, uint8_t recordNumber)
Definition: OpenSession24CmdBuild.cpp:41
MultiSeRequestProcessing.h
keyple::core::seproxy::plugin::WaitForSeRemoval::WaitForSeRemoval
WaitForSeRemoval(AbstractObservableLocalReader *reader)
Definition: WaitForSeRemoval.cpp:21
Object.h
keyple::calypso::transaction::CalypsoPo::getSoftwareIssuer
uint8_t getSoftwareIssuer() const
Definition: CalypsoPo.cpp:289
keyple::calypso::transaction::SamIdentifier::SamIdentifierBuilder::build
std::shared_ptr< SamIdentifier > build()
Definition: SamIdentifier.cpp:103
keyple::calypso::command::sam::CalypsoSamCommand::READ_EVENT_COUNTER
static const CalypsoSamCommand READ_EVENT_COUNTER
Definition: CalypsoSamCommand.h:98
KeypleCommonExport.h
keyple::calypso::command::po::builder::security::RehabilitateCmdBuild::createResponseParser
std::shared_ptr< RehabilitateRespPars > createResponseParser(std::shared_ptr< ApduResponse > apduResponse) override
Definition: RehabilitateCmdBuild.cpp:39
keyple::calypso::transaction::SvLoadLogRecord::getFreeByte
std::string getFreeByte() const
Definition: SvLoadLogRecord.cpp:71
keyple::calypso::transaction::exception::CalypsoPoIOException
Definition: CalypsoPoIOException.h:26
keyple::calypso::transaction::SamIdentifier::SamIdentifierBuilder::SamIdentifier
friend SamIdentifier
Definition: SamIdentifier.h:49
keyple::core::selection::SeSelection::processExplicitSelection
std::shared_ptr< SelectionsResult > processExplicitSelection(std::shared_ptr< SeReader > seReader)
Definition: SeSelection.cpp:125
keyple::calypso::transaction::SamCommandProcessor::getTerminalSignature
const std::vector< uint8_t > getTerminalSignature()
Definition: SamCommandProcessor.cpp:327
keyple::calypso::transaction::PoTransaction::SessionSetting::AccessLevel::getSessionKey
uint8_t getSessionKey() const
Definition: PoTransaction.cpp:1395
keyple::calypso::command::sam::builder::security::SvPrepareUndebitCmdBuild::SvPrepareUndebitCmdBuild
SvPrepareUndebitCmdBuild(const SamRevision &samRevision, const std::vector< uint8_t > &svGetHeader, const std::vector< uint8_t > &svGetData, const std::vector< uint8_t > &svUndebitCmdBuildDebitCmdBuildData)
Definition: SvPrepareUndebitCmdBuild.cpp:32
keyple::core
Definition: AbstractApduCommandBuilder.cpp:21
keyple::calypso::command::sam::parser::security::DigestUpdateMultipleRespPars::getStatusTable
const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const override
Definition: DigestUpdateMultipleRespPars.cpp:75
keyple::plugin::stub::StubProtocolSetting::STUB_PROTOCOL_SETTING
static std::map< std::shared_ptr< SeCommonProtocol >, std::string > STUB_PROTOCOL_SETTING
Definition: StubProtocolSetting.h:61
keyple::calypso::transaction::CalypsoPoUtils::EF_TYPE_DF
static const int EF_TYPE_DF
Definition: CalypsoPoUtils.h:103
keyple::calypso::command::po::parser::SelectFileRespPars::getProprietaryInformation
const std::vector< uint8_t > & getProprietaryInformation()
Definition: SelectFileRespPars.cpp:87
keyple::calypso::command::po::builder::security::OpenSession32CmdBuild::OpenSession32CmdBuild
OpenSession32CmdBuild(const uint8_t keyIndex, const std::vector< uint8_t > &samChallenge, const uint8_t sfi, const uint8_t recordNumber)
Definition: OpenSession32CmdBuild.cpp:37
keyple::core::seproxy::SeSelector::AidSelector::FileOccurrence::NEXT
static const FileOccurrence NEXT
Definition: SeSelector.h:76
keyple::core::seproxy::plugin::AbstractObservableLocalReader::startSeDetection
void startSeDetection(const ObservableReader::PollingMode pollingMode) final
Definition: AbstractObservableLocalReader.cpp:45
keyple::calypso::transaction::SamSelector::SamSelectorBuilder::samRevision
SamSelectorBuilder & samRevision(const SamRevision samRevision)
Definition: SamSelector.cpp:99
keyple::calypso::transaction::CalypsoPo::getApplicationSubtype
uint8_t getApplicationSubtype() const
Definition: CalypsoPo.cpp:284
keyple::common::Byte::Byte
Byte(unsigned char value)
Definition: Byte.h:75
keyple::common::ConcurrentMap::end
const_iterator end() const noexcept
Definition: ConcurrentMap.h:190
keyple::calypso::command::po::CalypsoPoCommand::CHANGE_KEY
static const CalypsoPoCommand CHANGE_KEY
Definition: CalypsoPoCommand.h:79
keyple::core::seproxy::plugin::SmartRemovalMonitoringJob::startMonitoring
std::future< void > startMonitoring(AbstractObservableState *state, std::atomic< bool > &cancellationFlag) override
Definition: SmartRemovalMonitoringJob.cpp:66
keyple::calypso::transaction::PoCommandManager::hasCommands
bool hasCommands() const
Definition: PoCommandManager.cpp:89
keyple::core::seproxy::protocol
Definition: SeCommonProtocols.cpp:21
keyple::common::Thread::Thread
Thread(const std::string &name)
Definition: Thread.h:47
keyple::calypso::transaction::PoSecuritySettings::PoSecuritySettingsBuilder::sessionModificationMode
PoSecuritySettingsBuilder & sessionModificationMode(ModificationMode sessionModificationMode)
Definition: PoSecuritySettings.cpp:142
KeyplePluginNotFoundException.h
keyple::calypso::transaction::PoCommandManager::PoCommandManager
PoCommandManager()
Definition: PoCommandManager.cpp:32
CountDownLatch::getCount
unsigned int getCount(void)
Definition: CountDownLatch.h:56
keyple::calypso::command::sam::AbstractSamResponseParser::getStatusTable
const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const override
Definition: AbstractSamResponseParser.cpp:62
keyple::core::seproxy::event::PluginEvent::PluginEvent
PluginEvent(const std::string &pluginName, const std::string &readerName, const EventType &eventType)
Definition: PluginEvent.cpp:73
keyple::calypso::command::po::parser::security::OpenSession31RespPars::OpenSession31RespPars
OpenSession31RespPars(std::shared_ptr< ApduResponse > response, OpenSession31CmdBuild *builder)
Definition: OpenSession31RespPars.cpp:30
keyple::calypso::transaction::CalypsoPoUtils::SEL_NKEY_OFFSET
static const int SEL_NKEY_OFFSET
Definition: CalypsoPoUtils.h:120
keyple::common::Properties::getProperty
std::string getProperty(const std::string &key) const
Definition: Properties.cpp:189
keyple::calypso::command::sam::exception::CalypsoSamAccessForbiddenException::CalypsoSamAccessForbiddenException
CalypsoSamAccessForbiddenException(const std::string &message, const std::shared_ptr< CalypsoSamCommand > command, const int statusCode)
Definition: CalypsoSamAccessForbiddenException.h:39
keyple::core::seproxy::event::ObservableReader::ReaderObserver::~ReaderObserver
virtual ~ReaderObserver()=default
keyple::calypso::KeyReference::~KeyReference
virtual ~KeyReference()=default
keyple::plugin::stub::StubPluginFactory::getPluginName
const std::string & getPluginName() const override
Definition: StubPluginFactory.cpp:30
keyple::calypso::command::po::parser::GetDataFciRespPars::logger
const std::shared_ptr< Logger > logger
Definition: GetDataFciRespPars.h:114
keyple::calypso::command::po::builder::security::CloseSessionCmdBuild::isSessionBufferUsed
virtual bool isSessionBufferUsed() const override
Definition: CloseSessionCmdBuild.cpp:91
keyple::calypso::transaction::PoTransaction::PoTransaction
PoTransaction(std::shared_ptr< SeResource< CalypsoPo >> poResource, std::shared_ptr< PoSecuritySettings > poSecuritySettings)
Definition: PoTransaction.cpp:128
keyple::plugin::stub::StubPoolPluginFactory
Definition: StubPoolPluginFactory.h:32
keyple::plugin::stub::StubSecureElement::~StubSecureElement
virtual ~StubSecureElement()
Definition: StubSecureElement.h:48
DigestInitRespPars.h
keyple::calypso::transaction::CalypsoPoUtils::FILE_TYPE_MF
static const int FILE_TYPE_MF
Definition: CalypsoPoUtils.h:96
keyple::calypso::transaction::CalypsoPoUtils::NB_REC_MAX
static const int NB_REC_MAX
Definition: CalypsoPoUtils.h:74
AbstractSamCommandBuilder.h
keyple::calypso::command::po::parser::GetDataTraceRespPars
Definition: GetDataTraceRespPars.h:33
keyple::core::seproxy::event::PluginEvent::getReaderNames
const std::set< std::string > & getReaderNames() const
Definition: PluginEvent.cpp:94
keyple::calypso::command::po::builder::security::ChangeKeyCmdBuild::isSessionBufferUsed
virtual bool isSessionBufferUsed() const override
Definition: ChangeKeyCmdBuild.cpp:61
SamSelectionRequest.h
keyple::common::Character::isWhitespace
static bool isWhitespace(char c)
Definition: Character.h:39
keyple::common::System::nanoTime
static unsigned long long nanoTime()
Definition: System.h:30
keyple::calypso::command::po::parser::ReadRecordsRespPars::getStatusTable
const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const override
Definition: ReadRecordsRespPars.cpp:103
keyple::plugin::pcsc::PcscReaderImpl
Definition: PcscReaderImpl.h:43
keyple::calypso::transaction::CalypsoPoUtils::prepareReadRecordFile
static std::unique_ptr< ReadRecordsCmdBuild > prepareReadRecordFile(const PoClass &poClass, const uint8_t sfi, const uint8_t recordNumber)
Definition: CalypsoPoUtils.cpp:599
AbstractPoCommandBuilder.h
keyple::calypso::transaction::PoSelectionRequest::prepareReadRecordFile
void prepareReadRecordFile(const uint8_t sfi, const uint8_t recordNumber)
Definition: PoSelectionRequest.cpp:58
CalypsoPoCommand.h
keyple::core::seproxy::SeSelector::AidSelector::AidSelectorBuilder::aidToSelect
AidSelectorBuilder & aidToSelect(const std::vector< uint8_t > &aid)
Definition: SeSelector.cpp:221
RehabilitateCmdBuild.h
keyple::plugin::pcsc::PcscReader::SETTING_KEY_MODE
static const std::string SETTING_KEY_MODE
Definition: PcscReader.h:43
keyple::core::seproxy::exception::KeypleReaderIOException::KeypleReaderIOException
KeypleReaderIOException(const std::string &msg, const std::exception &cause)
Definition: KeypleReaderIOException.h:54
keyple::calypso::transaction::CalypsoPoUtils::SEL_KIFS_OFFSET
static const int SEL_KIFS_OFFSET
Definition: CalypsoPoUtils.h:124
keyple::calypso::command::po::builder::storedvalue::SvReloadCmdBuild::getSvReloadData
const std::vector< uint8_t > getSvReloadData() const
Definition: SvReloadCmdBuild.cpp:93
keyple::plugin::stub::StubPoolPluginImpl::allocateReader
std::shared_ptr< SeReader > allocateReader(const std::string &groupReference) override
Definition: StubPoolPluginImpl.cpp:112
keyple::calypso::transaction::DirectoryHeader::DirectoryHeaderBuilder::kif
DirectoryHeaderBuilder & kif(const AccessLevel &level, const uint8_t kif)
Definition: DirectoryHeader.cpp:63
keyple::plugin::stub::StubReaderImpl::stopWaitForCard
void stopWaitForCard() override
Definition: StubReaderImpl.cpp:246
keyple::plugin::stub::StubPlugin::unplugStubReader
virtual void unplugStubReader(const std::string &name, bool synchronous)=0
keyple::core::seproxy::plugin::ExecutorService
Definition: ExecutorService.h:37
keyple::calypso::command::po::CalypsoPoCommand::OPEN_SESSION_24
static const CalypsoPoCommand OPEN_SESSION_24
Definition: CalypsoPoCommand.h:43
keyple::common::exception::InterruptedException::InterruptedException
InterruptedException(const std::string &name)
Definition: InterruptedException.h:27
keyple::calypso::command::po::builder::ReadRecordsCmdBuild::ReadMode::MULTIPLE_RECORD
@ MULTIPLE_RECORD
keyple::calypso::command::sam::builder::security::SamReadCeilingsCmdBuild::CeilingsOperationType::CEILING_RECORD
@ CEILING_RECORD
SvPrepareDebitCmdBuild.h
keyple::core::seproxy::exception::KeypleReaderException::KeypleReaderException
KeypleReaderException(const std::string &msg)
Definition: KeypleReaderException.h:42
CountDownLatch::~CountDownLatch
virtual ~CountDownLatch()=default
keyple::calypso::command::po::builder::SelectFileCmdBuild::getPath
const std::vector< uint8_t > & getPath() const
Definition: SelectFileCmdBuild.cpp:106
keyple::calypso::command::sam::builder::security::SvPrepareLoadCmdBuild::SvPrepareLoadCmdBuild
SvPrepareLoadCmdBuild(const SamRevision &samRevision, const std::vector< uint8_t > &svGetHeader, const std::vector< uint8_t > &svGetData, const std::vector< uint8_t > &svReloadCmdBuildData)
Definition: SvPrepareLoadCmdBuild.cpp:32
keyple::calypso::command::po::AbstractPoCommandBuilder
Definition: AbstractPoCommandBuilder.h:48
keyple::core::seproxy::event::ObservableReader::NotificationMode::valueOf
static NotificationMode valueOf(const std::string &name)
Definition: ObservableReader.cpp:103
keyple::calypso::command::po::builder::IncreaseCmdBuild::getSfi
uint8_t getSfi() const
Definition: IncreaseCmdBuild.cpp:85
keyple::common::Arrays::hashCode
static int hashCode(const std::vector< uint8_t > a)
Definition: Arrays.h:67
keyple::calypso::command::po::CalypsoPoCommand::getInstructionByte
uint8_t getInstructionByte() const
Definition: CalypsoPoCommand.cpp:63
keyple::core::seproxy::plugin::AbstractLocalReader::closeLogicalChannel
void closeLogicalChannel()
Definition: AbstractLocalReader.cpp:184
keyple::calypso::command::po::exception::CalypsoPoDataAccessException
Definition: CalypsoPoDataAccessException.h:31
keyple::core::seproxy::plugin::CardPresentMonitoringJob::startMonitoring
std::future< void > startMonitoring(AbstractObservableState *state, std::atomic< bool > &cancellationFlag) override
Definition: CardPresentMonitoringJob.cpp:95
keyple::core::seproxy::event::ObservableReader::NotificationMode::operator=
NotificationMode & operator=(NotificationMode o)
Definition: ObservableReader.cpp:78
keyple::calypso::command::sam::parser::security::UnlockRespPars::UnlockRespPars
UnlockRespPars(const std::shared_ptr< ApduResponse > response, UnlockCmdBuild *builder)
Definition: UnlockRespPars.cpp:59
keyple::core::seproxy::protocol::SeCommonProtocols::PROTOCOL_ISO14443_3A
static const std::shared_ptr< SeCommonProtocol > PROTOCOL_ISO14443_3A
Definition: SeCommonProtocols.h:91
keyple::calypso::command::sam::builder::security::SelectDiversifierCmdBuild::createResponseParser
std::shared_ptr< SelectDiversifierRespPars > createResponseParser(const std::shared_ptr< ApduResponse > apduResponse) override
Definition: SelectDiversifierCmdBuild.cpp:52
keyple::core::seproxy::AidSelector
SeSelector::AidSelector AidSelector
Definition: SeSelector.cpp:37
keyple::core::util::bertlv::Tag
Definition: Tag.h:41
KEYPLEPLUGINPCSC_API
#define KEYPLEPLUGINPCSC_API
Definition: KeyplePluginPcscExport.h:24
keyple::core::util::bertlv::Tag::Tag
Tag(int tagNumber, const TagClass tagClass, const TagType tagType, int tagSize)
Definition: Tag.cpp:28
keyple::calypso::command::sam::builder::security::CardGenerateKeyCmdBuild::CardGenerateKeyCmdBuild
CardGenerateKeyCmdBuild(const SamRevision &revision, const std::shared_ptr< KeyReference > cipheringKey, const std::shared_ptr< KeyReference > sourceKey)
Definition: CardGenerateKeyCmdBuild.cpp:35
keyple::core::seproxy::SeSelector::AidSelector::FileOccurrence::getIsoBitMask
uint8_t getIsoBitMask() const
Definition: SeSelector.cpp:52
keyple::common::Integer::parseInt
static int parseInt(const std::string &str, int radix, const bool decode)
Definition: Integer.h:135
keyple::calypso::command::sam::builder::security::SamReadCeilingsCmdBuild::SamReadCeilingsCmdBuild
SamReadCeilingsCmdBuild(const SamRevision &revision, const CeilingsOperationType operationType, const uint8_t index)
Definition: SamReadCeilingsCmdBuild.cpp:34
keyple::calypso::transaction::PoTransaction::PinTransmissionMode::PLAIN
@ PLAIN
keyple::calypso::command::po::parser::ReadRecordsRespPars::getRecords
std::map< int, std::vector< uint8_t > > getRecords() const
Definition: ReadRecordsRespPars.cpp:108
keyple::calypso::command::po::parser::ReadRecordsRespPars
Definition: ReadRecordsRespPars.h:50
keyple::calypso::command::sam::builder::security::CardGenerateKeyCmdBuild::createResponseParser
std::shared_ptr< CardGenerateKeyRespPars > createResponseParser(std::shared_ptr< ApduResponse > apduResponse) override
Definition: CardGenerateKeyCmdBuild.cpp:78
keyple::core::seproxy::SeSelector::SeSelectorBuilder::atrFilter
virtual SeSelectorBuilder & atrFilter(const std::shared_ptr< AtrFilter > atrFilter)
Definition: SeSelector.cpp:276
keyple::calypso::transaction::CalypsoSam::getSoftwareVersion
uint8_t getSoftwareVersion() const
Definition: CalypsoSam.cpp:136
SamReadKeyParametersCmdBuild.h
keyple::plugin::stub::StubPluginFactory
Definition: StubPluginFactory.h:31
keyple::calypso::command::po::parser::storedvalue::SvUndebitRespPars
Definition: SvUndebitRespPars.h:79
keyple::calypso::transaction::CalypsoSam::CalypsoSam
CalypsoSam(std::shared_ptr< SeResponse > selectionResponse, const TransmissionMode &transmissionMode)
Definition: CalypsoSam.cpp:44
keyple::calypso::command::po::builder::ReadRecordsCmdBuild::getFirstRecordNumber
uint8_t getFirstRecordNumber() const
Definition: ReadRecordsCmdBuild.cpp:83
keyple::common::StringBuilder::charAt
char charAt(std::size_t index)
Definition: stringbuilder.h:36
keyple::plugin::pcsc::PcscTerminal::transmitApdu
std::vector< uint8_t > transmitApdu(const std::vector< uint8_t > &apduIn)
Definition: PcscTerminal.cpp:254
keyple::calypso::command::po::parser::storedvalue::SvReloadRespPars::getStatusTable
const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable() const override
Definition: SvReloadRespPars.cpp:95
keyple::calypso::command::sam::builder::security::SamReadKeyParametersCmdBuild::MAX_WORK_KEY_REC_NUMB
static const int MAX_WORK_KEY_REC_NUMB
Definition: SamReadKeyParametersCmdBuild.h:44
keyple::core::seproxy::event::ObservableReader::NotificationMode::innerEnumValue
InnerEnum innerEnumValue
Definition: ObservableReader.h:98
keyple::calypso::transaction::SamResourceManager::ManagedSamResource::isSamMatching
bool isSamMatching(const std::shared_ptr< SamIdentifier > samIdentifier) const
Definition: SamResourceManager.cpp:87
StubSecureElement.h
keyple::calypso::command::po::builder::storedvalue::SvUndebitCmdBuild::getSvUndebitData
const std::vector< uint8_t > getSvUndebitData() const
Definition: SvUndebitCmdBuild.cpp:94
keyple::core::seproxy::plugin::ObservablePluginNotifier
Definition: ObservablePluginNotifier.h:29
keyple::core::seproxy::protocol::SeCommonProtocols::PROTOCOL_MEMORY_ST25
static const std::shared_ptr< SeCommonProtocol > PROTOCOL_MEMORY_ST25
Definition: SeCommonProtocols.h:103
AbstractDefaultSelectionsRequest.h
keyple::core::seproxy::plugin::AbstractObservablePlugin::removeObserver
virtual void removeObserver(const std::shared_ptr< ObservablePlugin::PluginObserver > observer) override
Definition: AbstractObservablePlugin.cpp:39
NumberFormatException.h
keyple::calypso::transaction::CalypsoPo::getSvLastTNum
int getSvLastTNum() const
Definition: CalypsoPo.cpp:502
keyple::calypso::KeyReference::getKvc
virtual uint8_t getKvc() const
Definition: KeyReference.cpp:26
keyple::calypso::command::sam::parser::security::DigestUpdateMultipleRespPars
Definition: DigestUpdateMultipleRespPars.h:43
SeRequest.h
IllegalArgumentException.h
keyple::core::seproxy::SeSelector::AidSelector::AidSelectorBuilder::build
std::shared_ptr< AidSelector > build()
Definition: SeSelector.cpp:256
keyple::calypso::command::sam::parser::security::DigestUpdateMultipleRespPars::DigestUpdateMultipleRespPars
DigestUpdateMultipleRespPars(const std::shared_ptr< ApduResponse > response, DigestUpdateMultipleCmdBuild *builder)
Definition: DigestUpdateMultipleRespPars.cpp:66
keyple::common::exception::InterruptedException
Definition: InterruptedException.h:22
AppendRecordCmdBuild.h
keyple::calypso::operator<<
std::ostream & operator<<(std::ostream &os, const SelectFileControl &sfc)
Definition: SelectFileControl.h:35
keyple::common::Cast::reinterpret_pointer_cast
static std::shared_ptr< To > reinterpret_pointer_cast(std::shared_ptr< From > const &ptr) noexcept
Definition: Cast.h:24
keyple::calypso::command::po::builder::AppendRecordCmdBuild::AppendRecordCmdBuild
AppendRecordCmdBuild(const PoClass poClass, const uint8_t sfi, const std::vector< uint8_t > &newRecordData)
Definition: AppendRecordCmdBuild.cpp:36
keyple::calypso::command::sam::builder::security::SvPrepareDebitCmdBuild
Definition: SvPrepareDebitCmdBuild.h:34
keyple::core::seproxy::protocol::SeProtocol::getTransmissionMode
virtual const TransmissionMode & getTransmissionMode() const =0
keyple::calypso::transaction::exception::CalypsoSamAnomalyException
Definition: CalypsoSamAnomalyException.h:30
keyple::plugin::stub::StubSecureElement::getATR
virtual const std::vector< uint8_t > & getATR()=0
keyple::calypso::transaction::SamCommandProcessor
Definition: SamCommandProcessor.h:52
keyple::calypso::command::po::parser::security::PoGetChallengeRespPars::getPoChallenge
std::vector< uint8_t > getPoChallenge() const
Definition: PoGetChallengeRespPars.cpp:35
keyple::calypso::command::po::parser::storedvalue::SvReloadRespPars
Definition: SvReloadRespPars.h:67
CalypsoDesynchronizedExchangesException.h
ChangeKeyRespPars.h
keyple::core::seproxy::plugin::CardPresentMonitoringJob::stop
void stop() override
Definition: CardPresentMonitoringJob.cpp:89
GetDataTraceCmdBuild.h
keyple::calypso::command::po::parser::GetDataFciRespPars
Definition: GetDataFciRespPars.h:53
keyple::common::ConcurrentMap::eraseFirstElement
size_type eraseFirstElement()
Definition: ConcurrentMap.h:134
keyple::core::seproxy::event::ObservablePlugin::addObserver
virtual void addObserver(const std::shared_ptr< PluginObserver > observer)=0
keyple::core::command::AbstractIso7816CommandBuilder::setApduRequest
virtual std::shared_ptr< ApduRequest > setApduRequest(const uint8_t cla, const SeCommand &command, const uint8_t p1, const uint8_t p2, const std::vector< uint8_t > &dataIn)
Definition: AbstractIso7816CommandBuilder.cpp:41
keyple::calypso::transaction::SamResourceManagerDefault::ReaderObserver
Definition: SamResourceManagerDefault.h:49
keyple::common::Boolean::toString
std::string toString()
Definition: Boolean.h:93
StubReaderImpl.h
keyple::common::Arrays
Definition: Arrays.h:23
keyple::calypso::transaction::exception::CalypsoPoTransactionException::CalypsoPoTransactionException
CalypsoPoTransactionException(const std::string &message)
Definition: CalypsoPoTransactionException.h:34
keyple::plugin::stub::StubReaderImpl::isPhysicalChannelOpen
bool isPhysicalChannelOpen() override
Definition: StubReaderImpl.cpp:89
keyple::calypso::transaction::exception::CalypsoSamAnomalyException::getCause
const CalypsoSamCommandException & getCause() override
Definition: CalypsoSamAnomalyException.h:47
keyple::calypso::transaction::SvDebitLogRecord::getSamId
uint32_t getSamId() const
Definition: SvDebitLogRecord.cpp:75
keyple::core::seproxy::message::SeResponse::isLogicalChannelOpen
bool isLogicalChannelOpen() const
Definition: SeResponse.cpp:42
keyple::common::Logger::Logger
Logger(const std::string &className, std::mutex *mtx)
Definition: Logger.cpp:23
CalypsoPoTransactionIllegalStateException.h
keyple::calypso::command::po::parser::storedvalue
Definition: SvDebitCmdBuild.h:23
keyple::plugin::stub::StubReaderImpl::stopWaitForCardRemoval
void stopWaitForCardRemoval() override
Definition: StubReaderImpl.cpp:275
keyple::core::seproxy::event::ObservableReader::NotificationMode::operator==
bool operator==(const NotificationMode &other)
Definition: ObservableReader.cpp:68
keyple::core::seproxy::SeSelector::AidSelector::getFileOccurrence
FileOccurrence getFileOccurrence() const
Definition: SeSelector.cpp:141
keyple::calypso::transaction::CalypsoPoUtils::EF_TYPE_COUNTERS
static const int EF_TYPE_COUNTERS
Definition: CalypsoPoUtils.h:108
keyple::calypso::transaction::CalypsoPo::getSerialNumberExpirationBytes
const std::vector< uint8_t > & getSerialNumberExpirationBytes() const
Definition: CalypsoPo.cpp:223
keyple::core::seproxy::event::AbstractDefaultSelectionsResponse
Definition: AbstractDefaultSelectionsResponse.h:38
keyple::calypso::command::sam
Definition: AbstractSamCommandBuilder.h:30
keyple::core::seproxy::plugin::SmartRemovalMonitoringJob::monitoringJob
void monitoringJob(AbstractObservableState *state, std::atomic< bool > &cancellationFlag)
Definition: SmartRemovalMonitoringJob.cpp:34
keyple::calypso::command::po::builder::security::OpenSession24CmdBuild
Definition: OpenSession24CmdBuild.h:40
keyple::core::seproxy::event::ObservableReader::ReaderObserver::update
virtual void update(const std::shared_ptr< ReaderEvent > event)=0
keyple::core::seproxy::plugin::AbstractObservableLocalReader::AbstractObservableLocalReader
AbstractObservableLocalReader(const std::string &pluginName, const std::string &readerName)
Definition: AbstractObservableLocalReader.cpp:24
keyple::common::System::arraycopy
static void arraycopy(const std::vector< char > &src, int srcPos, std::vector< char > &dest, int destPos, int length)
Definition: System.h:47
keyple::calypso::command::sam::builder::security::SamWriteKeyCmdBuild
Definition: SamWriteKeyCmdBuild.h:40
keyple::plugin::pcsc::PcscReaderImpl::getName
virtual const std::string & getName() const final
Definition: PcscReaderImpl.h:127
keyple::common::Logger::debug
void debug(const std::string &format, Args... args)
Definition: Logger.h:82
keyple::calypso::transaction::SamResourceManager::ManagedSamResource
Definition: SamResourceManager.h:55
ReadRecordsCmdBuild.h
keyple::calypso::transaction::SamIdentifier::SamIdentifier
SamIdentifier(const SamIdentifierBuilder *builder)
Definition: SamIdentifier.cpp:30
keyple::calypso::command::po::builder::IncreaseCmdBuild::getCounterNumber
uint8_t getCounterNumber() const
Definition: IncreaseCmdBuild.cpp:90
keyple::plugin::pcsc::PcscReaderImpl::protocolFlagMatches
bool protocolFlagMatches(const std::shared_ptr< SeProtocol > protocolFlag) override
Definition: PcscReaderImpl.cpp:249
keyple::calypso::transaction::CalypsoSam::getSamRevision
const SamRevision & getSamRevision() const
Definition: CalypsoSam.cpp:106
keyple::calypso::command
Definition: AbstractPoCommandBuilder.h:35
ObservablePlugin.h
keyple::calypso::command::sam::SamRevision::getClassByte
uint8_t getClassByte() const
Definition: SamRevision.cpp:51
keyple::core::seproxy::plugin::AbstractObservableState::mState
MonitoringState mState
Definition: AbstractObservableState.h:91
keyple::common::exception::IllegalArgumentException::IllegalArgumentException
IllegalArgumentException(const std::string &message)
Definition: IllegalArgumentException.h:27
keyple::calypso::command::sam::builder::security::SamReadKeyParametersCmdBuild
Definition: SamReadKeyParametersCmdBuild.h:39
keyple::calypso::command::po::CalypsoPoCommand::SV_RELOAD
static const CalypsoPoCommand SV_RELOAD
Definition: CalypsoPoCommand.h:94
keyple::core::util::bertlv::TLV
Definition: TLV.h:45
keyple::core::seproxy::event::ObservableReader::removeObserver
virtual void removeObserver(const std::shared_ptr< ReaderObserver > observer)=0
keyple::calypso::command::sam::AbstractSamResponseParser::STATUS_TABLE
static const std::map< int, std::shared_ptr< StatusProperties > > STATUS_TABLE
Definition: AbstractSamResponseParser.h:75
keyple::common::Integer::toString
static std::string toString(int i, int radix)
Definition: Integer.h:64
keyple::calypso::transaction::exception::CalypsoSamAnomalyException::CalypsoSamAnomalyException
CalypsoSamAnomalyException(const std::string &message, const std::exception &cause)
Definition: CalypsoSamAnomalyException.h:39
keyple::calypso::command::sam::parser::security::DigestUpdateRespPars::DigestUpdateRespPars
DigestUpdateRespPars(const std::shared_ptr< ApduResponse > response, DigestUpdateCmdBuild *builder)
Definition: DigestUpdateRespPars.cpp:69
CalypsoPo.h
PoCommandManager.h
keyple::calypso::transaction::operator<
bool operator<(const AccessLevel &lhs, const AccessLevel &rhs)
Definition: PoTransaction.cpp:1434
keyple::core::seproxy::message::SeRequest
Definition: SeRequest.h:48
keyple::common::exception::NoSuchMethodException
Definition: NoSuchMethodException.h:22
keyple::calypso::command::po::parser::storedvalue::SvGetRespPars::getBalance
int getBalance() const
Definition: SvGetRespPars.cpp:150
keyple::calypso::command::po::parser
Definition: AppendRecordCmdBuild.h:28
keyple::calypso::transaction::ElementaryFile
Definition: ElementaryFile.h:33
keyple::calypso::command::sam::parser::security::SamReadCeilingsRespPars::getCeilingsData
const std::vector< uint8_t > getCeilingsData() const
Definition: SamReadCeilingsRespPars.cpp:77
SamReadEventCounterRespPars.h
keyple::calypso::transaction::exception::CalypsoUnauthorizedKvcException::CalypsoUnauthorizedKvcException
CalypsoUnauthorizedKvcException(const std::string &message)
Definition: CalypsoUnauthorizedKvcException.h:34
keyple::core::command::AbstractApduResponseParser::AbstractApduResponseParser
AbstractApduResponseParser(const std::shared_ptr< ApduResponse > response, AbstractApduCommandBuilder *builder)
Definition: AbstractApduResponseParser.cpp:49
keyple::calypso::transaction::PoTransaction::prepareReadCounterFile
void prepareReadCounterFile(const uint8_t sfi, const uint8_t countersNumber)
Definition: PoTransaction.cpp:1086
keyple::core::seproxy::plugin::SmartRemovalMonitoringJob::SmartRemovalMonitoringJob
SmartRemovalMonitoringJob(SmartRemovalReader *reader)
Definition: SmartRemovalMonitoringJob.cpp:31
keyple::core::seproxy::event::ObservableReader::clearObservers
virtual void clearObservers()=0
keyple::common::Pattern::mPattern
const std::regex mPattern
Definition: Pattern.h:29
keyple::calypso::command::po::builder::UpdateRecordCmdBuild
Definition: UpdateRecordCmdBuild.h:46