Keyple C++
0.9.0
Keyple, an Open Source SDK for Ticketing
|
#include <SelectFileCmdBuild.h>
Inherits keyple::calypso::command::po::AbstractPoCommandBuilder< SelectFileRespPars >.
Public Member Functions | |
SelectFileCmdBuild (const PoClass &poClass, SelectFileControl selectFileControl) | |
SelectFileCmdBuild (const PoClass &poClass, const std::vector< uint8_t > &selectionPath) | |
std::shared_ptr< SelectFileRespPars > | createResponseParser (std::shared_ptr< ApduResponse > apduResponse) override |
bool | isSessionBufferUsed () const override |
const std::vector< uint8_t > & | getPath () const |
SelectFileControl | getSelectFileControl () const |
![]() | |
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 |
This class provides the dedicated constructor to build the Select File APDU commands.
keyple::calypso::command::po::builder::SelectFileCmdBuild::SelectFileCmdBuild | ( | const PoClass & | poClass, |
SelectFileControl | selectFileControl | ||
) |
Instantiates a new SelectFileCmdBuild to select the first, next or current file in the current DF.
poClass | indicates which CLA byte should be used for the Apdu |
selectFileControl | the selection mode control: FIRST, NEXT or CURRENT |
keyple::calypso::command::po::builder::SelectFileCmdBuild::SelectFileCmdBuild | ( | const PoClass & | poClass, |
const std::vector< uint8_t > & | selectionPath | ||
) |
Instantiates a new SelectFileCmdBuild to select the first, next or current file in the current DF.
poClass | indicates which CLA byte should be used for the Apdu |
selectionPath | the file identifier path |
|
overridevirtual |
Create the response parser matching the builder
apduResponse | the response data from the SE |
Implements keyple::calypso::command::po::AbstractPoCommandBuilder< SelectFileRespPars >.
const std::vector< uint8_t > & keyple::calypso::command::po::builder::SelectFileCmdBuild::getPath | ( | ) | const |
The selection path can be null if the chosen constructor targets the current EF
SelectFileControl keyple::calypso::command::po::builder::SelectFileCmdBuild::getSelectFileControl | ( | ) | const |
The file selection control can be null if the chosen constructor targets an explicit path
|
override |
This command doesn't modify the contents of the PO and therefore doesn't uses the session buffer.