![]() |
Keyple Card Calypso C++ Library 2.1.0
Reference Terminal Reader API for C++
|
#include <CmdCardSelectFile.h>
Public Member Functions | |
CmdCardSelectFile (const CalypsoCardClass calypsoCardClass, const SelectFileControl selectFileControl) | |
CmdCardSelectFile (const CalypsoCardClass calypsoCardClass, const CalypsoCard::ProductType productType, const uint16_t lid) | |
bool | isSessionBufferUsed () const override |
const std::vector< uint8_t > & | getProprietaryInformation () |
const std::map< const int, const std::shared_ptr< StatusProperties > > & | getStatusTable () const override |
![]() | |
AbstractCardCommand (const CalypsoCardCommand &commandRef) | |
const CalypsoCardCommand & | getCommandRef () const override |
const CalypsoApduCommandException | buildCommandException (const std::type_info &exceptionClass, const std::string &message, const CardCommand &commandRef, const int statusWord) const final |
AbstractCardCommand & | setApduResponse (const std::shared_ptr< ApduResponseApi > apduResponse) override |
void | checkStatus () override |
![]() | |
AbstractApduCommand (const CardCommand &commandRef) | |
virtual void | addSubName (const std::string &subName) final |
virtual const std::string & | getName () const final |
virtual void | setApduRequest (const std::shared_ptr< ApduRequestAdapter > apduRequest) final |
virtual const std::shared_ptr< ApduRequestAdapter > | getApduRequest () const final |
virtual const std::shared_ptr< ApduResponseApi > | getApduResponse () const final |
virtual bool | isSuccessful () const final |
virtual const std::string | getStatusInformation () const final |
Additional Inherited Members | |
![]() | |
static const std::map< const int, const std::shared_ptr< StatusProperties > > | STATUS_TABLE |
(package-private)
Builds the Select File APDU commands.
The value of the Proprietary Information tag is extracted from the Select File response and made available using the corresponding getter.
Definition at line 51 of file CmdCardSelectFile.h.
keyple::card::calypso::CmdCardSelectFile::CmdCardSelectFile | ( | const CalypsoCardClass | calypsoCardClass, |
const SelectFileControl | selectFileControl | ||
) |
(package-private)
Instantiates a new CmdCardSelectFile to select the first, next or current file in the current DF.
calypsoCardClass | indicates which CLA byte should be used for the Apdu. |
selectFileControl | the selection mode control: FIRST, NEXT or CURRENT. |
Definition at line 39 of file CmdCardSelectFile.cpp.
keyple::card::calypso::CmdCardSelectFile::CmdCardSelectFile | ( | const CalypsoCardClass | calypsoCardClass, |
const CalypsoCard::ProductType | productType, | ||
const uint16_t | lid | ||
) |
(package-private)
Instantiates a new CmdCardSelectFile to select the first, next or current file in the current DF.
calypsoCardClass | Indicates which CLA byte should be used for the Apdu. |
productType | The target product type. |
lid | The LID. |
Definition at line 75 of file CmdCardSelectFile.cpp.
const std::vector< uint8_t > & keyple::card::calypso::CmdCardSelectFile::getProprietaryInformation | ( | ) |
(package-private)
Definition at line 116 of file CmdCardSelectFile.cpp.
|
overridevirtual |
(package-private)
Returns the internal status table
Reimplemented from keyple::card::calypso::AbstractApduCommand.
Definition at line 154 of file CmdCardSelectFile.cpp.
|
overridevirtual |
(package-private)
Indicates if the session buffer is used when executing this command.Allows the management of the overflow of this buffer.
Implements keyple::card::calypso::AbstractCardCommand.
Definition at line 111 of file CmdCardSelectFile.cpp.