![]() |
Keyple Card Calypso C++ Library 2.2.2
Reference Terminal Reader API for C++
|
#include <CmdSamWriteKey.h>
Public Member Functions | |
CmdSamWriteKey (const CalypsoSam::ProductType productType, const uint8_t writingMode, const uint8_t keyReference, const std::vector< uint8_t > &keyData) | |
const std::map< const int, const std::shared_ptr< StatusProperties > > & | getStatusTable () const override |
![]() | |
AbstractSamCommand (const CalypsoSamCommand &commandRef, const int le) | |
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 |
AbstractSamCommand & | setApduResponse (const std::shared_ptr< ApduResponseApi > apduResponse) override |
void | checkStatus () override |
![]() | |
AbstractApduCommand (const CardCommand &commandRef, const int le) | |
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 = initStatusTable() |
![]() | |
static const std::map< const int, const std::shared_ptr< StatusProperties > > | STATUS_TABLE |
(package-private)
Builds the Write Key APDU command.
Definition at line 37 of file CmdSamWriteKey.h.
keyple::card::calypso::CmdSamWriteKey::CmdSamWriteKey | ( | const CalypsoSam::ProductType | productType, |
const uint8_t | writingMode, | ||
const uint8_t | keyReference, | ||
const std::vector< uint8_t > & | keyData | ||
) |
(package-private)
CalypsoSamCardSelectorBuilder constructor
productType | the SAM product type. |
writingMode | the writing mode (P1). |
keyReference | the key reference (P2). |
keyData | the key data. |
Definition at line 28 of file CmdSamWriteKey.cpp.
|
overridevirtual |
(package-private)
Returns the internal status table
Reimplemented from keyple::card::calypso::AbstractSamCommand.
Definition at line 53 of file CmdSamWriteKey.cpp.