![]() |
Keyple Card Calypso C++ Library 2.1.0
Reference Terminal Reader API for C++
|
#include <CmdSamGiveRandom.h>


Public Member Functions | |
| CmdSamGiveRandom (const CalypsoSam::ProductType productType, const std::vector< uint8_t > &random) | |
| 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 CalypsoSamCommand & | getCommandRef () const override |
| const CalypsoApduCommandException | buildCommandException (const std::type_info &exceptionClass, const std::string &message, const CardCommand &commandRef, const int statusWord) const final |
| AbstractSamCommand & | setApduResponse (const std::shared_ptr< ApduResponseApi > apduResponse) override |
| void | checkStatus () override |
Public Member Functions inherited from keyple::card::calypso::AbstractApduCommand | |
| 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 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 Give Random APDU command.
Definition at line 37 of file CmdSamGiveRandom.h.
| keyple::card::calypso::CmdSamGiveRandom::CmdSamGiveRandom | ( | const CalypsoSam::ProductType | productType, |
| const std::vector< uint8_t > & | random | ||
| ) |
(package-private)
Instantiates a new CmdSamDigestUpdate.
| productType | the SAM product type. |
| random | the random data. |
| IllegalArgumentException | If the random data is null or has a length not equal to 8 TODO implement specific settings for rev less than 3 |
Definition at line 35 of file CmdSamGiveRandom.cpp.
|
overridevirtual |
(package-private)
Returns the internal status table
Reimplemented from keyple::card::calypso::AbstractSamCommand.
Definition at line 66 of file CmdSamGiveRandom.cpp.