![]() |
Keyple Card Calypso C++ Library 2.2.2
Reference Terminal Reader API for C++
|
#include <CommonTransactionManagerAdapter.h>
Public Member Functions | |
CommonTransactionManagerAdapter (std::shared_ptr< SmartCard > targetSmartCard, const std::shared_ptr< CommonSecuritySettingAdapter< U > > securitySetting, const std::vector< std::vector< uint8_t > > &transactionAuditData) | |
const std::vector< std::vector< uint8_t > > & | getTransactionAuditData () const override |
const std::vector< std::shared_ptr< ApduRequestSpi > > | getApduRequests (const std::vector< std::shared_ptr< AbstractApduCommand > > &commands) |
virtual void | saveTransactionAuditData (const std::shared_ptr< CardRequestSpi > cardRequest, const std::shared_ptr< CardResponseApi > cardResponse) |
const std::string | getTransactionAuditDataAsString () const |
Static Public Member Functions | |
static void | saveTransactionAuditData (const std::shared_ptr< CardRequestSpi > cardRequest, const std::shared_ptr< CardResponseApi > cardResponse, std::vector< std::vector< uint8_t > > &transactionAuditData) |
Public Attributes | |
const std::string | MSG_SAM_READER_COMMUNICATION_ERROR |
const std::string | MSG_SAM_COMMUNICATION_ERROR |
const std::string | MSG_SAM_COMMAND_ERROR |
const std::string | MSG_WHILE_TRANSMITTING_COMMANDS |
(package-private)
Implementation of CommonTransactionManager.
<T> | The type of the lowest level child object. |
<S> | The type of the lowest level child object of the associated CommonSecuritySetting. |
<U> | (C++ only) The type of CommonSecuritySettingAdapter child object |
Definition at line 52 of file CommonTransactionManagerAdapter.h.
|
inline |
(package-private)
Creates a new instance.
targetSmartCard | The target smartcard provided by the selection process. |
securitySetting | The security settings (optional). |
transactionAuditData | The original transaction data to fill (optional). |
Definition at line 74 of file CommonTransactionManagerAdapter.h.
|
inline |
(package-private)
Creates a list of ApduRequestSpi from a list of AbstractApduCommand.
commands | The list of commands. |
Definition at line 101 of file CommonTransactionManagerAdapter.h.
|
inlineoverride |
Definition at line 87 of file CommonTransactionManagerAdapter.h.
|
inline |
(package-private)
Returns a string representation of the transaction audit data.
Definition at line 170 of file CommonTransactionManagerAdapter.h.
|
inlinevirtual |
(package-private)
Saves the provided exchanged APDU commands in the list of transaction audit data.
cardRequest | The card request. |
cardResponse | The associated card response. |
Definition at line 121 of file CommonTransactionManagerAdapter.h.
|
inlinestatic |
(package-private)
Saves the provided exchanged APDU commands in the provided list of transaction audit data.
cardRequest | The card request. |
cardResponse | The associated card response. |
transactionAuditData | The list to complete. |
Definition at line 146 of file CommonTransactionManagerAdapter.h.
const std::string keyple::card::calypso::CommonTransactionManagerAdapter< T, S, U >::MSG_SAM_COMMAND_ERROR |
Definition at line 60 of file CommonTransactionManagerAdapter.h.
const std::string keyple::card::calypso::CommonTransactionManagerAdapter< T, S, U >::MSG_SAM_COMMUNICATION_ERROR |
Definition at line 58 of file CommonTransactionManagerAdapter.h.
const std::string keyple::card::calypso::CommonTransactionManagerAdapter< T, S, U >::MSG_SAM_READER_COMMUNICATION_ERROR |
Definition at line 56 of file CommonTransactionManagerAdapter.h.
const std::string keyple::card::calypso::CommonTransactionManagerAdapter< T, S, U >::MSG_WHILE_TRANSMITTING_COMMANDS |
Definition at line 62 of file CommonTransactionManagerAdapter.h.