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


Public Member Functions | |
| CmdCardReadBinary (const std::shared_ptr< CalypsoCardAdapter > calypsoCard, const uint8_t sfi, const int offset, const int length) | |
| void | parseApduResponse (const std::shared_ptr< ApduResponseApi > apduResponse) override |
| bool | isSessionBufferUsed () const override |
| int | getOffset () const |
| 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 |
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 "Read Binary" APDU command.
Definition at line 51 of file CmdCardReadBinary.h.
| keyple::card::calypso::CmdCardReadBinary::CmdCardReadBinary | ( | const std::shared_ptr< CalypsoCardAdapter > | calypsoCard, |
| const uint8_t | sfi, | ||
| const int | offset, | ||
| const int | length | ||
| ) |
(package-private)
Constructor.
| calypsoCard | The Calypso card. |
| sfi | The sfi to select. |
| offset | The offset. |
| length | The number of bytes to read. |
Definition at line 40 of file CmdCardReadBinary.cpp.
| int keyple::card::calypso::CmdCardReadBinary::getOffset | ( | ) | const |
(package-private)
Definition at line 87 of file CmdCardReadBinary.cpp.
|
overridevirtual |
(package-private)
Returns the internal status table
Reimplemented from keyple::card::calypso::AbstractApduCommand.
Definition at line 126 of file CmdCardReadBinary.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 82 of file CmdCardReadBinary.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 75 of file CmdCardReadBinary.cpp.