![]() |
Keyple Card Calypso C++ Library 2.2.5.6
Reference Terminal Reader API for C++
|
#include <CmdCardSelectFile.h>


Public Member Functions | |
| CmdCardSelectFile (const std::shared_ptr< CalypsoCardAdapter > calypsoCard, const SelectFileControl selectFileControl) | |
| CmdCardSelectFile (const CalypsoCardClass calypsoCardClass, const SelectFileControl selectFileControl) | |
| CmdCardSelectFile (const std::shared_ptr< CalypsoCardAdapter > calypsoCard, const uint16_t lid) | |
| CmdCardSelectFile (const CalypsoCardClass calypsoCardClass, const CalypsoCard::ProductType productType, const uint16_t lid) | |
| void | parseApduResponse (const std::shared_ptr< ApduResponseApi > apduResponse) override |
| bool | isSessionBufferUsed () const override |
| const std::map< const int, const std::shared_ptr< StatusProperties > > & | getStatusTable () const override |
Public Member Functions inherited from keyple::card::calypso::AbstractCardCommand | |
| AbstractCardCommand (const CalypsoCardCommand &commandRef, const int expectedResponseLength, const std::shared_ptr< CalypsoCardAdapter > calypsoCard) | |
| const CalypsoCardCommand & | getCommandRef () const override |
| const CalypsoApduCommandException | buildCommandException (const std::type_info &exceptionClass, const std::string &message) const final |
| const CalypsoApduCommandException | buildUnexpectedResponseLengthException (const std::string &message) const final |
| std::shared_ptr< CalypsoCardAdapter > | getCalypsoCard () const |
| void | parseApduResponse (const std::shared_ptr< ApduResponseApi > apduResponse, const std::shared_ptr< CalypsoCardAdapter > calypsoCard) |
Public Member Functions inherited from keyple::card::calypso::AbstractApduCommand | |
| AbstractApduCommand (const CardCommand &commandRef, const int expectedResponseLength) | |
| virtual void | addSubName (const std::string &subName) final |
| virtual const std::string & | getName () const final |
| virtual void | setExpectedResponseLength (const int expectedResponseLength) 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 |
Static Public Member Functions | |
| static void | parseProprietaryInformation (const std::vector< uint8_t > &dataOut, const std::shared_ptr< CalypsoCardAdapter > calypsoCard) |
| static const std::vector< uint8_t > | getProprietaryInformation (const std::vector< uint8_t > &dataOut) |
Additional Inherited Members | |
Static Public Attributes inherited from keyple::card::calypso::AbstractApduCommand | |
| 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 56 of file CmdCardSelectFile.h.
| keyple::card::calypso::CmdCardSelectFile::CmdCardSelectFile | ( | const std::shared_ptr< CalypsoCardAdapter > | calypsoCard, |
| const SelectFileControl | selectFileControl | ||
| ) |
(package-private)
Instantiates a new CmdCardSelectFile to select the first, next or current file in the current DF.
| calypsoCard | The Calypso card. |
| selectFileControl | the selection mode control: FIRST, NEXT or CURRENT. |
Definition at line 46 of file CmdCardSelectFile.cpp.
| 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 53 of file CmdCardSelectFile.cpp.
| keyple::card::calypso::CmdCardSelectFile::CmdCardSelectFile | ( | const std::shared_ptr< CalypsoCardAdapter > | calypsoCard, |
| const uint16_t | lid | ||
| ) |
(package-private)
Instantiates a new CmdCardSelectFile to select the first, next or current file in the current DF.
| calypsoCard | The Calypso card. |
| lid | The LID. |
Definition at line 60 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 67 of file CmdCardSelectFile.cpp.
|
static |
(package-private)
Definition at line 193 of file CmdCardSelectFile.cpp.
|
overridevirtual |
(package-private)
Returns the internal status table
Reimplemented from keyple::card::calypso::AbstractApduCommand.
Definition at line 371 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 188 of file CmdCardSelectFile.cpp.
|
overridevirtual |
(package-private)
Parses the response ApduResponseApi and check the status word.
| apduResponse | The APDU response. |
| CalypsoApduCommandException | if status is not successful or if the length of the response is not equal to the LE field in the request. |
Reimplemented from keyple::card::calypso::AbstractCardCommand.
Definition at line 154 of file CmdCardSelectFile.cpp.
|
static |
(package-private)
Parses the proprietary information and updates the corresponding Calypso card.
| dataOut | The dataOut block to parse. |
| calypsoCard | The Calypso card to update. |
Definition at line 161 of file CmdCardSelectFile.cpp.