Interface LegacySamApiFactory
-
public interface LegacySamApiFactory
Legacy SAM API Factory.- Since:
- 0.3.0
-
-
Method Summary
-
-
-
Method Detail
-
createLegacySamSelectionExtension
LegacySamSelectionExtension createLegacySamSelectionExtension()
Returns a new instance ofLegacySamSelectionExtension
.- Returns:
- A new instance of
LegacySamSelectionExtension
. - Since:
- 0.3.0
-
createSymmetricCryptoCardTransactionManagerFactory
org.eclipse.keypop.calypso.card.transaction.spi.SymmetricCryptoCardTransactionManagerFactory createSymmetricCryptoCardTransactionManagerFactory(org.eclipse.keypop.reader.CardReader samReader, LegacySam sam)
Returns a new instance ofSymmetricCryptoCardTransactionManagerFactory
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. - Throws:
java.lang.IllegalArgumentException
- If an argument is null or invalid.- Since:
- 0.3.0
-
createSecuritySetting
SecuritySetting createSecuritySetting()
Returns a new instance ofSecuritySetting
.- Returns:
- A new instance of
SecuritySetting
. - Since:
- 0.3.0
-
createFreeTransactionManager
FreeTransactionManager createFreeTransactionManager(org.eclipse.keypop.reader.CardReader samReader, LegacySam sam)
Returns a new instance ofFreeTransactionManager
.- Parameters:
samReader
- The reader to use to communicate with the SAM.sam
- The SAM image.- Returns:
- A new instance of
FreeTransactionManager
. - Throws:
java.lang.IllegalArgumentException
- If an argument is null or invalid.- Since:
- 0.3.0
-
createAsyncTransactionCreatorManager
AsyncTransactionCreatorManager createAsyncTransactionCreatorManager(java.lang.String targetSamContext, SecuritySetting securitySetting)
Returns a new instance ofAsyncTransactionCreatorManager
.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
. - Throws:
java.lang.IllegalArgumentException
- If an argument is null or invalid.- Since:
- 0.3.0
-
createAsyncTransactionExecutorManager
AsyncTransactionExecutorManager createAsyncTransactionExecutorManager(org.eclipse.keypop.reader.CardReader samReader, LegacySam sam, java.lang.String samCommands)
Returns a new instance ofAsyncTransactionExecutorManager
.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
. - Throws:
java.lang.IllegalArgumentException
- If an argument is null or invalid.- Since:
- 0.3.0
-
createBasicSignatureComputationData
BasicSignatureComputationData createBasicSignatureComputationData()
Returns a new instance ofBasicSignatureComputationData
.- Returns:
- A new instance of
BasicSignatureComputationData
. - Since:
- 0.3.0
-
createTraceableSignatureComputationData
TraceableSignatureComputationData createTraceableSignatureComputationData()
Returns a new instance ofTraceableSignatureComputationData
.- Returns:
- A new instance of
TraceableSignatureComputationData
. - Since:
- 0.3.0
-
createBasicSignatureVerificationData
BasicSignatureVerificationData createBasicSignatureVerificationData()
Returns a new instance ofBasicSignatureVerificationData
.- Returns:
- A new instance of
BasicSignatureVerificationData
. - Since:
- 0.3.0
-
createTraceableSignatureVerificationData
TraceableSignatureVerificationData createTraceableSignatureVerificationData()
Returns a new instance ofTraceableSignatureVerificationData
.- Returns:
- A new instance of
TraceableSignatureVerificationData
. - Since:
- 0.3.0
-
-