#include <LegacySamApiFactory.hpp>
Legacy SAM API Factory.
- Since
- 0.3.0
Definition at line 55 of file LegacySamApiFactory.hpp.
◆ createAsyncTransactionCreatorManager()
virtual std::shared_ptr< AsyncTransactionCreatorManager > keypop::calypso::crypto::legacysam::LegacySamApiFactory::createAsyncTransactionCreatorManager |
( |
const std::string & |
targetSamContext, |
|
|
const std::shared_ptr< SecuritySetting > |
securitySetting |
|
) |
| |
|
pure virtual |
Returns a new instance of AsyncTransactionCreatorManager.
The target SAM context can be retrieved with the method FreeTransactionManager::exportTargetSamContextForAsyncTransaction().
- Parameters
-
targetSamContext | The target SAM context. |
securitySetting | The security settings. |
- Returns
- A new instance of AsyncTransactionCreatorManager.
- Exceptions
-
IllegalArgumentException | If an argument is null or invalid. |
- Since
- 0.3.0
◆ createAsyncTransactionExecutorManager()
virtual std::shared_ptr< AsyncTransactionExecutorManager > keypop::calypso::crypto::legacysam::LegacySamApiFactory::createAsyncTransactionExecutorManager |
( |
const std::shared_ptr< CardReader > |
samReader, |
|
|
const std::shared_ptr< LegacySam > |
sam, |
|
|
const std::string & |
samCommands |
|
) |
| |
|
pure virtual |
Returns a new instance of AsyncTransactionExecutorManager.
The commands must be prepared using a AsyncTransactionCreatorManager.
- Parameters
-
samReader | The reader to use to communicate with the SAM. |
sam | The SAM image. |
samCommands | A string containing the prepared commands. |
- Returns
- A new instance of AsyncTransactionExecutorManager.
- Exceptions
-
IllegalArgumentException | If an argument is null or invalid. |
- Since
- 0.3.0
◆ createBasicSignatureComputationData()
virtual std::shared_ptr< BasicSignatureComputationData > keypop::calypso::crypto::legacysam::LegacySamApiFactory::createBasicSignatureComputationData |
( |
| ) |
|
|
pure virtual |
Returns a new instance of BasicSignatureComputationData.
- Returns
- A new instance of BasicSignatureComputationData.
- Since
- 0.3.0
◆ createBasicSignatureVerificationData()
virtual std::shared_ptr< BasicSignatureVerificationData > keypop::calypso::crypto::legacysam::LegacySamApiFactory::createBasicSignatureVerificationData |
( |
| ) |
|
|
pure virtual |
Returns a new instance of BasicSignatureVerificationData.
- Returns
- A new instance of BasicSignatureVerificationData.
- Since
- 0.3.0
◆ createFreeTransactionManager()
virtual std::shared_ptr< FreeTransactionManager > keypop::calypso::crypto::legacysam::LegacySamApiFactory::createFreeTransactionManager |
( |
const std::shared_ptr< CardReader > |
samReader, |
|
|
const std::shared_ptr< LegacySam > |
sam |
|
) |
| |
|
pure virtual |
Returns a new instance of FreeTransactionManager.
- Parameters
-
samReader | The reader to use to communicate with the SAM. |
sam | The SAM image. |
- Returns
- A new instance of FreeTransactionManager.
- Exceptions
-
IllegalArgumentException | If an argument is null or invalid. |
- Since
- 0.3.0
◆ createKeyPairContainer()
virtual std::shared_ptr< KeyPairContainer > keypop::calypso::crypto::legacysam::LegacySamApiFactory::createKeyPairContainer |
( |
| ) |
|
|
pure virtual |
Returns a new instance of KeyPairContainer.
- Returns
- A new instance of KeyPairContainer.
- Since
- 0.5.0
◆ createLegacyCardCertificateComputationData()
Returns a new instance of LegacyCardCertificateComputationData.
- Returns
- A new instance of LegacyCardCertificateComputationData.
- Since
- 0.5.0
◆ createLegacySamSelectionExtension()
virtual std::shared_ptr< LegacySamSelectionExtension > keypop::calypso::crypto::legacysam::LegacySamApiFactory::createLegacySamSelectionExtension |
( |
| ) |
|
|
pure virtual |
Returns a new instance of LegacySamSelectionExtension.
- Returns
- A new instance of LegacySamSelectionExtension.
- Since
- 0.3.0
◆ createSecuritySetting()
virtual std::shared_ptr< SecuritySetting > keypop::calypso::crypto::legacysam::LegacySamApiFactory::createSecuritySetting |
( |
| ) |
|
|
pure virtual |
◆ createSymmetricCryptoCardTransactionManagerFactory()
virtual std::shared_ptr< SymmetricCryptoCardTransactionManagerFactory > keypop::calypso::crypto::legacysam::LegacySamApiFactory::createSymmetricCryptoCardTransactionManagerFactory |
( |
const std::shared_ptr< CardReader > |
samReader, |
|
|
const std::shared_ptr< LegacySam > |
sam |
|
) |
| |
|
pure virtual |
Returns a new instance of SymmetricCryptoCardTransactionManagerFactory to be used to secure a card transaction.
- Parameters
-
samReader | The reader to use to communicate with the SAM. |
sam | The associated control SAM to be used with the card transaction. |
- Returns
- A new instance of SymmetricCryptoCardTransactionManagerFactory to be used to secure a card transaction.
- Exceptions
-
IllegalArgumentException | If an argument is null or invalid. |
- Since
- 0.3.0
◆ createTraceableSignatureComputationData()
Returns a new instance of TraceableSignatureComputationData.
- Returns
- A new instance of TraceableSignatureComputationData.
- Since
- 0.3.0
◆ createTraceableSignatureVerificationData()
Returns a new instance of TraceableSignatureVerificationData.
- Returns
- A new instance of TraceableSignatureVerificationData.
- Since
- 0.3.0
The documentation for this class was generated from the following file: