#include <ChangeKeyCmdBuild.h>
Inherits keyple::calypso::command::po::AbstractPoCommandBuilder< ChangeKeyRespPars >.
|
Protected Member Functions inherited from keyple::core::command::AbstractIso7816CommandBuilder |
virtual std::shared_ptr< ApduRequest > | setApduRequest (const uint8_t cla, const SeCommand &command, const uint8_t p1, const uint8_t p2, const std::vector< uint8_t > &dataIn) |
|
virtual std::shared_ptr< ApduRequest > | setApduRequest (const uint8_t cla, const SeCommand &command, const uint8_t p1, const uint8_t p2, const uint8_t le) |
|
virtual std::shared_ptr< ApduRequest > | setApduRequest (const uint8_t cla, const SeCommand &command, const uint8_t p1, const uint8_t p2, const std::vector< uint8_t > &dataIn, const uint8_t le) |
|
Protected Attributes inherited from keyple::calypso::command::po::AbstractPoCommandBuilder< ChangeKeyRespPars > |
const std::shared_ptr< Logger > | mLogger |
|
Protected Attributes inherited from keyple::core::command::AbstractApduCommandBuilder |
const std::shared_ptr< SeCommand > | mCommandRef |
|
std::shared_ptr< ApduRequest > | mRequest |
|
◆ ChangeKeyCmdBuild()
keyple::calypso::command::po::builder::security::ChangeKeyCmdBuild::ChangeKeyCmdBuild |
( |
const PoClass |
poClass, |
|
|
const uint8_t |
keyIndex, |
|
|
const std::vector< uint8_t > & |
cryptogram |
|
) |
| |
Change Key Calypso command
- Parameters
-
poClass | 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) |
◆ createResponseParser()
std::shared_ptr< ChangeKeyRespPars > keyple::calypso::command::po::builder::security::ChangeKeyCmdBuild::createResponseParser |
( |
std::shared_ptr< ApduResponse > |
apduResponse | ) |
|
|
overridevirtual |
◆ isSessionBufferUsed()
bool keyple::calypso::command::po::builder::security::ChangeKeyCmdBuild::isSessionBufferUsed |
( |
| ) |
const |
|
overridevirtual |
This command can't be executed in session and therefore doesn't uses the session buffer.
- Returns
- false
The documentation for this class was generated from the following files: