![]() |
Keyple Card Calypso C++ Library 2.2.2
Reference Terminal Reader API for C++
|
#include <CmdSamReadKeyParameters.h>
Public Types | |
enum class | SourceRef { WORK_KEY , SYSTEM_KEY } |
enum class | NavControl { FIRST , NEXT } |
Public Member Functions | |
CmdSamReadKeyParameters (const CalypsoSam::ProductType productType) | |
CmdSamReadKeyParameters (const CalypsoSam::ProductType productType, const uint8_t kif) | |
CmdSamReadKeyParameters (const CalypsoSam::ProductType productType, const uint8_t kif, const uint8_t kvc) | |
CmdSamReadKeyParameters (const CalypsoSam::ProductType productType, const SourceRef sourceKeyRef, const int recordNumber) | |
CmdSamReadKeyParameters (const CalypsoSam::ProductType productType, const uint8_t kif, const NavControl navControl) | |
const std::vector< uint8_t > | getKeyParameters () const |
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 |
Friends | |
std::ostream & | operator<< (std::ostream &os, const SourceRef &sr) |
std::ostream & | operator<< (std::ostream &os, const NavControl &nc) |
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 Read Key Parameters APDU command.
Definition at line 38 of file CmdSamReadKeyParameters.h.
|
strong |
Navigation control
Enumerator | |
---|---|
FIRST | First |
NEXT | Next |
Definition at line 58 of file CmdSamReadKeyParameters.h.
|
strong |
Source reference
Enumerator | |
---|---|
WORK_KEY | Work key |
SYSTEM_KEY | System key |
Definition at line 43 of file CmdSamReadKeyParameters.h.
keyple::card::calypso::CmdSamReadKeyParameters::CmdSamReadKeyParameters | ( | const CalypsoSam::ProductType | productType | ) |
(package-private)
Instantiates a new CmdSamReadKeyParameters for the null key.
productType | the SAM product type. |
Definition at line 41 of file CmdSamReadKeyParameters.cpp.
keyple::card::calypso::CmdSamReadKeyParameters::CmdSamReadKeyParameters | ( | const CalypsoSam::ProductType | productType, |
const uint8_t | kif | ||
) |
(package-private)
Instantiates a new CmdSamReadKeyParameters for the provided kif.
productType | the SAM product type. |
kif | the kif |
Definition at line 54 of file CmdSamReadKeyParameters.cpp.
keyple::card::calypso::CmdSamReadKeyParameters::CmdSamReadKeyParameters | ( | const CalypsoSam::ProductType | productType, |
const uint8_t | kif, | ||
const uint8_t | kvc | ||
) |
(package-private)
Instantiates a new CmdSamReadKeyParameters for the provided kif and kvc.
productType | the SAM product type. |
kif | the kif |
kvc | the kvc |
Definition at line 70 of file CmdSamReadKeyParameters.cpp.
keyple::card::calypso::CmdSamReadKeyParameters::CmdSamReadKeyParameters | ( | const CalypsoSam::ProductType | productType, |
const SourceRef | sourceKeyRef, | ||
const int | recordNumber | ||
) |
(package-private)
Instantiates a new CmdSamReadKeyParameters for the provided key reference and record number.
productType | the SAM product type. |
sourceKeyRef | the source key reference |
recordNumber | the record number |
Definition at line 88 of file CmdSamReadKeyParameters.cpp.
keyple::card::calypso::CmdSamReadKeyParameters::CmdSamReadKeyParameters | ( | const CalypsoSam::ProductType | productType, |
const uint8_t | kif, | ||
const NavControl | navControl | ||
) |
(package-private)
Instantiates a new CmdSamReadKeyParameters for the provided kif and navigation control flag.
productType | the SAM product type. |
kif | the kif |
navControl | the navigation control flag |
Definition at line 123 of file CmdSamReadKeyParameters.cpp.
const std::vector< uint8_t > keyple::card::calypso::CmdSamReadKeyParameters::getKeyParameters | ( | ) | const |
(package-private)
Gets the key parameters.
Definition at line 154 of file CmdSamReadKeyParameters.cpp.
|
overridevirtual |
(package-private)
Returns the internal status table
Reimplemented from keyple::card::calypso::AbstractSamCommand.
Definition at line 185 of file CmdSamReadKeyParameters.cpp.
|
friend |
Definition at line 213 of file CmdSamReadKeyParameters.cpp.
|
friend |
Definition at line 192 of file CmdSamReadKeyParameters.cpp.