![]() |
Keyple Card Calypso C++ Library 2.1.0
Reference Terminal Reader API for C++
|
#include <CmdCardChangeKey.h>
Public Member Functions | |
CmdCardChangeKey (const CalypsoCardClass calypsoCardClass, const uint8_t keyIndex, const std::vector< uint8_t > &cryptogram) | |
bool | isSessionBufferUsed () const override |
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 Change key APDU command.
Definition at line 50 of file CmdCardChangeKey.h.
keyple::card::calypso::CmdCardChangeKey::CmdCardChangeKey | ( | const CalypsoCardClass | calypsoCardClass, |
const uint8_t | keyIndex, | ||
const std::vector< uint8_t > & | cryptogram | ||
) |
(package-private)
Change Key Calypso command
calypsoCardClass | indicates which CLA byte should be used for the Apdu. |
keyIndex | index of the key of the current DF to change. |
cryptogram | key encrypted with Issuer key (key #1). |
Definition at line 37 of file CmdCardChangeKey.cpp.
|
overridevirtual |
(package-private)
Returns the internal status table
Reimplemented from keyple::card::calypso::AbstractApduCommand.
Definition at line 93 of file CmdCardChangeKey.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 50 of file CmdCardChangeKey.cpp.