Keypop Calypso Card C++ API 2.0.0
Reference Calypso Card API for C++
|
#include <SecureTransactionManager.hpp>
Public Member Functions | |
virtual std::shared_ptr< CardTransactionCryptoExtension > | getCryptoExtension (const std::type_info &cryptoExtensionClass)=0 |
virtual SecureTransactionManager & | prepareCloseSecureSession ()=0 |
virtual SecureTransactionManager & | prepareCancelSecureSession ()=0 |
Contains operations common to all card transactions secured by cryptographic algorithms.
See TransactionManager parent interface for more information and details of others available card operations.
<T> | The type of the lowest level child object. |
Definition at line 29 of file SecureTransactionManager.hpp.
|
pure virtual |
Returns the associated CardTransactionCryptoExtension instance.
cryptoExtensionClass | The class of the crypto extension. |
<E> | The generic type of the expected crypto extension. |
IllegalArgumentException | If the provided class is null. |
|
pure virtual |
Schedules the execution of a special "Close Secure Session" command in order to abort the current secure session.
This command will be executed in safe mode and will not raise any exceptions.
|
pure virtual |
Schedules the execution of a "Close Secure Session" command.
The ratification mechanism is disabled by default but can be enabled via the SymmetricCryptoSecuritySetting#enableRatificationMechanism() method.
In this case, a ratification command is added after the "Close Secure Session" command when the communication is done in contactless mode.
IllegalStateException | In the following cases:
|