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


Public Member Functions | |
| CmdSamDigestUpdate (const std::shared_ptr< CalypsoSamAdapter > calypsoSam, const bool encryptedSession, const std::vector< uint8_t > &digestData) | |
| const std::map< const int, const std::shared_ptr< StatusProperties > > & | getStatusTable () const override |
Public Member Functions inherited from keyple::card::calypso::AbstractSamCommand | |
| AbstractSamCommand (const CalypsoSamCommand &commandRef, const int expectedResponseLength, const std::shared_ptr< CalypsoSamAdapter > calypsoSam) | |
| const std::shared_ptr< CalypsoSamAdapter > | getCalypsoSam () const |
| const CalypsoSamCommand & | 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 |
| void | parseApduResponse (const std::shared_ptr< ApduResponseApi > apduResponse) override |
| void | parseApduResponse (const std::shared_ptr< ApduResponseApi > apduResponse, const std::shared_ptr< CalypsoSamAdapter > calypsoSam) |
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::AbstractSamCommand | |
| static const std::map< const int, const std::shared_ptr< StatusProperties > > | STATUS_TABLE = initStatusTable() |
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 Digest Update APDU command.
This command have to be sent twice for each command executed during a session. First time for the command sent and second time for the answer received.
Definition at line 36 of file CmdSamDigestUpdate.h.
| keyple::card::calypso::CmdSamDigestUpdate::CmdSamDigestUpdate | ( | const std::shared_ptr< CalypsoSamAdapter > | calypsoSam, |
| const bool | encryptedSession, | ||
| const std::vector< uint8_t > & | digestData | ||
| ) |
(package-private)
Instantiates a new CmdSamDigestUpdate.
| calypsoSam | The Calypso SAM. |
| encryptedSession | the encrypted session flag, true if encrypted. |
| digestData | all bytes from command sent by the card or response from the command. |
| IllegalArgumentException | If the digest data is null or has a length > 255 |
Definition at line 38 of file CmdSamDigestUpdate.cpp.
|
overridevirtual |
(package-private)
Returns the internal status table
Reimplemented from keyple::card::calypso::AbstractSamCommand.
Definition at line 84 of file CmdSamDigestUpdate.cpp.