![]() |
Keyple Card Calypso C++ Library 2.1.0
Reference Terminal Reader API for C++
|
#include <CmdSamDigestInit.h>
Public Member Functions | |
CmdSamDigestInit (const CalypsoSam::ProductType productType, const bool verificationMode, const bool confidentialSessionMode, const uint8_t workKif, const uint8_t workKvc, const std::vector< uint8_t > &digestData) | |
const std::map< const int, const std::shared_ptr< StatusProperties > > & | getStatusTable () const override |
![]() | |
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 |
![]() | |
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 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 Digest Init APDU command.
Definition at line 33 of file CmdSamDigestInit.h.
keyple::card::calypso::CmdSamDigestInit::CmdSamDigestInit | ( | const CalypsoSam::ProductType | productType, |
const bool | verificationMode, | ||
const bool | confidentialSessionMode, | ||
const uint8_t | workKif, | ||
const uint8_t | workKvc, | ||
const std::vector< uint8_t > & | digestData | ||
) |
(package-private)
Instantiates a new CmdSamDigestInit.
productType | the SAM product type. |
verificationMode | the verification mode. |
confidentialSessionMode | the confidential session mode (rev 3.2). |
workKif | from the card response. |
workKvc | from the card response. |
digestData | all data out from the card response. |
IllegalArgumentException | If the KIF or KVC is 0 |
IllegalArgumentException | If the digest data is null |
IllegalArgumentException | If the request is inconsistent |
Definition at line 40 of file CmdSamDigestInit.cpp.
|
overridevirtual |
(package-private)
Returns the internal status table
Reimplemented from keyple::card::calypso::AbstractSamCommand.
Definition at line 106 of file CmdSamDigestInit.cpp.