#include <SymmetricCryptoCardTransactionManagerFactorySpi.hpp>
◆ createCardTransactionManager()
virtual std::shared_ptr< SymmetricCryptoCardTransactionManagerSpi > keypop::calypso::crypto::symmetric::spi::SymmetricCryptoCardTransactionManagerFactorySpi::createCardTransactionManager |
( |
const std::vector< uint8_t > & |
cardKeyDiversifier, |
|
|
const bool |
useExtendedMode, |
|
|
const std::vector< std::vector< uint8_t > > & |
transactionAuditData |
|
) |
| |
|
pure virtual |
Returns a new instance of SymmetricCryptoCardTransactionManagerSpi.
- Parameters
-
cardKeyDiversifier | The card key diversifier to use for the coming cryptographic computations. |
useExtendedMode | Request the use of the extended mode if supported by the crypto service. |
transactionAuditData | The reference of the list where the transaction audit data are recorded. |
- Returns
- A new instance of SymmetricCryptoCardTransactionManagerSpi.
- Exceptions
-
IllegalStateException | If the extended mode is not supported. |
- Since
- 0.1.0
◆ getMaxCardApduLengthSupported()
virtual int keypop::calypso::crypto::symmetric::spi::SymmetricCryptoCardTransactionManagerFactorySpi::getMaxCardApduLengthSupported |
( |
| ) |
const |
|
pure virtual |
Returns the max length supported of the card APDU.
- Returns
- A positive value.
- Since
- 0.1.0
◆ isExtendedModeSupported()
virtual bool keypop::calypso::crypto::symmetric::spi::SymmetricCryptoCardTransactionManagerFactorySpi::isExtendedModeSupported |
( |
| ) |
const |
|
pure virtual |
Indicates if the "extended" mode is supported.
- Returns
- True if the "extended" mode is supported, false otherwise.
- Since
- 0.1.0
◆ preInitTerminalSessionContext()
virtual void keypop::calypso::crypto::symmetric::spi::SymmetricCryptoCardTransactionManagerFactorySpi::preInitTerminalSessionContext |
( |
| ) |
|
|
pure virtual |
Retrieves and stores the terminal challenge in the SAM image for later use.
- Exceptions
-
- Since
- 0.1.0
The documentation for this class was generated from the following file: