Keypop Calypso Crypto Symmetric C++ API 0.1.1
Reference Calypso Crypto Symmetric API for C++
Public Member Functions | List of all members
keypop::calypso::crypto::symmetric::spi::SymmetricCryptoCardTransactionManagerFactorySpi Class Referenceabstract

#include <SymmetricCryptoCardTransactionManagerFactorySpi.hpp>

Public Member Functions

virtual bool isExtendedModeSupported () const =0
 
virtual int getMaxCardApduLengthSupported () const =0
 
virtual void preInitTerminalSessionContext ()=0
 
virtual std::shared_ptr< SymmetricCryptoCardTransactionManagerSpicreateCardTransactionManager (const std::vector< uint8_t > &cardKeyDiversifier, const bool useExtendedMode, const std::vector< std::vector< uint8_t > > &transactionAuditData)=0
 

Detailed Description

Factory of SymmetricCryptoCardTransactionManagerSpi.

Since
0.1.0

Definition at line 28 of file SymmetricCryptoCardTransactionManagerFactorySpi.hpp.

Member Function Documentation

◆ 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
cardKeyDiversifierThe card key diversifier to use for the coming cryptographic computations.
useExtendedModeRequest the use of the extended mode if supported by the crypto service.
transactionAuditDataThe reference of the list where the transaction audit data are recorded.
Returns
A new instance of SymmetricCryptoCardTransactionManagerSpi.
Exceptions
IllegalStateExceptionIf 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
SymmetricCryptoExceptionIf an internal error occurred.
SymmetricCryptoIOExceptionIf an IO error occurred when processing a command.
Since
0.1.0

The documentation for this class was generated from the following file: