![]() |
Keyple Card Calypso C++ Library 2.2.5.6
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 std::shared_ptr< CalypsoSamAdapter > calypsoSam) | |
| CmdSamReadKeyParameters (const std::shared_ptr< CalypsoSamAdapter > calypsoSam, const uint8_t kif) | |
| CmdSamReadKeyParameters (const std::shared_ptr< CalypsoSamAdapter > calypsoSam, const uint8_t kif, const uint8_t kvc) | |
| CmdSamReadKeyParameters (const std::shared_ptr< CalypsoSamAdapter > calypsoSam, const SourceRef sourceKeyRef, const int recordNumber) | |
| CmdSamReadKeyParameters (const std::shared_ptr< CalypsoSamAdapter > calypsoSam, 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 |
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 |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const SourceRef &sr) |
| std::ostream & | operator<< (std::ostream &os, const NavControl &nc) |
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 Read Key Parameters APDU command.
Definition at line 33 of file CmdSamReadKeyParameters.h.
|
strong |
Navigation control
| Enumerator | |
|---|---|
| FIRST | First |
| NEXT | Next |
Definition at line 53 of file CmdSamReadKeyParameters.h.
|
strong |
Source reference
| Enumerator | |
|---|---|
| WORK_KEY | Work key |
| SYSTEM_KEY | System key |
Definition at line 38 of file CmdSamReadKeyParameters.h.
| keyple::card::calypso::CmdSamReadKeyParameters::CmdSamReadKeyParameters | ( | const std::shared_ptr< CalypsoSamAdapter > | calypsoSam | ) |
(package-private)
Instantiates a new CmdSamReadKeyParameters for the null key.
| calypsoSam | The Calypso SAM. |
Definition at line 41 of file CmdSamReadKeyParameters.cpp.
| keyple::card::calypso::CmdSamReadKeyParameters::CmdSamReadKeyParameters | ( | const std::shared_ptr< CalypsoSamAdapter > | calypsoSam, |
| const uint8_t | kif | ||
| ) |
(package-private)
Instantiates a new CmdSamReadKeyParameters for the provided kif.
| calypsoSam | The Calypso SAM. |
| kif | the kif |
Definition at line 54 of file CmdSamReadKeyParameters.cpp.
| keyple::card::calypso::CmdSamReadKeyParameters::CmdSamReadKeyParameters | ( | const std::shared_ptr< CalypsoSamAdapter > | calypsoSam, |
| const uint8_t | kif, | ||
| const uint8_t | kvc | ||
| ) |
(package-private)
Instantiates a new CmdSamReadKeyParameters for the provided kif and kvc.
| calypsoSam | The Calypso SAM. |
| kif | the kif |
| kvc | the kvc |
Definition at line 71 of file CmdSamReadKeyParameters.cpp.
| keyple::card::calypso::CmdSamReadKeyParameters::CmdSamReadKeyParameters | ( | const std::shared_ptr< CalypsoSamAdapter > | calypsoSam, |
| const SourceRef | sourceKeyRef, | ||
| const int | recordNumber | ||
| ) |
(package-private)
Instantiates a new CmdSamReadKeyParameters for the provided key reference and record number.
| calypsoSam | The Calypso SAM. |
| sourceKeyRef | the source key reference |
| recordNumber | the record number |
Definition at line 90 of file CmdSamReadKeyParameters.cpp.
| keyple::card::calypso::CmdSamReadKeyParameters::CmdSamReadKeyParameters | ( | const std::shared_ptr< CalypsoSamAdapter > | calypsoSam, |
| const uint8_t | kif, | ||
| const NavControl | navControl | ||
| ) |
(package-private)
Instantiates a new CmdSamReadKeyParameters for the provided kif and navigation control flag.
| calypsoSam | The Calypso SAM. |
| kif | the kif |
| navControl | the navigation control flag |
Definition at line 130 of file CmdSamReadKeyParameters.cpp.
| const std::vector< uint8_t > keyple::card::calypso::CmdSamReadKeyParameters::getKeyParameters | ( | ) | const |
(package-private)
Gets the key parameters.
Definition at line 165 of file CmdSamReadKeyParameters.cpp.
|
overridevirtual |
(package-private)
Returns the internal status table
Reimplemented from keyple::card::calypso::AbstractSamCommand.
Definition at line 196 of file CmdSamReadKeyParameters.cpp.
|
friend |
Definition at line 224 of file CmdSamReadKeyParameters.cpp.
|
friend |
Definition at line 203 of file CmdSamReadKeyParameters.cpp.