Keyple C++
0.9.0
Keyple, an Open Source SDK for Ticketing
|
#include <SvGetCmdBuild.h>
Inherits keyple::calypso::command::po::AbstractPoCommandBuilder< SvGetRespPars >.
Public Member Functions | |
SvGetCmdBuild (const PoClass &poClass, const PoRevision &poRevision, const Operation svOperation) | |
Operation | getSvOperation () const |
std::shared_ptr< SvGetRespPars > | createResponseParser (std::shared_ptr< ApduResponse > apduResponse) override |
bool | isSessionBufferUsed () const override |
![]() | |
AbstractPoCommandBuilder (std::shared_ptr< CalypsoPoCommand > commandRef, std::shared_ptr< ApduRequest > request) | |
virtual | ~AbstractPoCommandBuilder ()=default |
virtual const std::shared_ptr< SeCommand > | getCommandRef () const override |
virtual bool | isSessionBufferUsed () const=0 |
![]() | |
AbstractIso7816CommandBuilder (const std::shared_ptr< SeCommand > commandReference, const std::shared_ptr< ApduRequest > request) | |
AbstractIso7816CommandBuilder (const std::string &name, const std::shared_ptr< ApduRequest > request) | |
virtual | ~AbstractIso7816CommandBuilder ()=default |
![]() | |
AbstractApduCommandBuilder (const std::shared_ptr< SeCommand > commandRef, const std::shared_ptr< ApduRequest > request) | |
AbstractApduCommandBuilder (const std::string &name, const std::shared_ptr< ApduRequest > request) | |
virtual | ~AbstractApduCommandBuilder ()=default |
virtual void | addSubName (const std::string &subName) |
virtual const std::shared_ptr< SeCommand > | getCommandRef () const |
virtual const std::string & | getName () const |
virtual const std::shared_ptr< ApduRequest > | getApduRequest () const |
Additional Inherited Members | |
![]() | |
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) |
virtual std::shared_ptr< ApduRequest > | setApduRequest (const uint8_t cla, const SeCommand &command, const uint8_t p1, const uint8_t p2, const uint8_t le) |
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, const uint8_t le) |
![]() | |
const std::shared_ptr< Logger > | mLogger |
![]() | |
const std::shared_ptr< SeCommand > | mCommandRef |
std::shared_ptr< ApduRequest > | mRequest |
The Class SvGetCmdBuild. This class provides the dedicated constructor to build the SV Get command.
keyple::calypso::command::po::builder::storedvalue::SvGetCmdBuild::SvGetCmdBuild | ( | const PoClass & | poClass, |
const PoRevision & | poRevision, | ||
const Operation | svOperation | ||
) |
Instantiates a new SvGetCmdBuild.
poClass | the PO class |
poRevision | the PO revision |
svOperation | the desired SV operation |
IllegalArgumentException | - if the command is inconsistent |
|
overridevirtual |
Create the response parser matching the builder
apduResponse | the response data from the SE |
Implements keyple::calypso::command::po::AbstractPoCommandBuilder< SvGetRespPars >.
Operation keyple::calypso::command::po::builder::storedvalue::SvGetCmdBuild::getSvOperation | ( | ) | const |
Gets the request SV operation (used to check the SV command sequence)
|
override |