Package org.eclipse.keypop.calypso.card
Interface CalypsoCardApiFactory
public interface CalypsoCardApiFactory
Calypso Card API Factory.
- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptioncreateAsymmetricCryptoSecuritySetting
(AsymmetricCryptoCardTransactionManagerFactory cryptoCardTransactionManagerFactory) Returns a new instance ofAsymmetricCryptoSecuritySetting
.Returns a new instance ofCalypsoCardSelectionExtension
.createFreeTransactionManager
(org.eclipse.keypop.reader.CardReader cardReader, CalypsoCard card) Returns a new instance ofFreeTransactionManager
.Returns a new instance ofSearchCommandData
.createSecureExtendedModeTransactionManager
(org.eclipse.keypop.reader.CardReader cardReader, CalypsoCard card, SymmetricCryptoSecuritySetting securitySetting) Returns a new instance ofSecureExtendedModeTransactionManager
.createSecurePkiModeTransactionManager
(org.eclipse.keypop.reader.CardReader cardReader, CalypsoCard card, AsymmetricCryptoSecuritySetting securitySetting) Returns a new instance ofSecurePkiModeTransactionManager
.createSecureRegularModeTransactionManager
(org.eclipse.keypop.reader.CardReader cardReader, CalypsoCard card, SymmetricCryptoSecuritySetting securitySetting) Returns a new instance ofSecureRegularModeTransactionManager
.createSymmetricCryptoSecuritySetting
(SymmetricCryptoCardTransactionManagerFactory cryptoCardTransactionManagerFactory) Returns a new instance ofSymmetricCryptoSecuritySetting
.
-
Method Details
-
createCalypsoCardSelectionExtension
CalypsoCardSelectionExtension createCalypsoCardSelectionExtension()Returns a new instance ofCalypsoCardSelectionExtension
.- Returns:
- A new instance of
CalypsoCardSelectionExtension
. - Since:
- 2.0.0
-
createSymmetricCryptoSecuritySetting
SymmetricCryptoSecuritySetting createSymmetricCryptoSecuritySetting(SymmetricCryptoCardTransactionManagerFactory cryptoCardTransactionManagerFactory) Returns a new instance ofSymmetricCryptoSecuritySetting
.- Parameters:
cryptoCardTransactionManagerFactory
- The factory of the crypto card transaction manager to be used.- Returns:
- A new instance of
SymmetricCryptoSecuritySetting
. - Throws:
IllegalArgumentException
- If the factory is null or invalid.- Since:
- 2.0.0
-
createAsymmetricCryptoSecuritySetting
AsymmetricCryptoSecuritySetting createAsymmetricCryptoSecuritySetting(AsymmetricCryptoCardTransactionManagerFactory cryptoCardTransactionManagerFactory) Returns a new instance ofAsymmetricCryptoSecuritySetting
.- Parameters:
cryptoCardTransactionManagerFactory
- The factory of the crypto card transaction manager to be used.- Returns:
- A new instance of
AsymmetricCryptoSecuritySetting
. - Throws:
IllegalArgumentException
- If the factory is null or invalid.- Since:
- 2.1.0
-
createFreeTransactionManager
FreeTransactionManager createFreeTransactionManager(org.eclipse.keypop.reader.CardReader cardReader, CalypsoCard card) Returns a new instance ofFreeTransactionManager
.- Parameters:
cardReader
- The card reader to be used.card
- The selected card on which to operate the transaction.- Returns:
- A new instance of
FreeTransactionManager
. - Throws:
IllegalArgumentException
- If one of the parameters is null.- Since:
- 2.0.0
-
createSecureRegularModeTransactionManager
SecureRegularModeTransactionManager createSecureRegularModeTransactionManager(org.eclipse.keypop.reader.CardReader cardReader, CalypsoCard card, SymmetricCryptoSecuritySetting securitySetting) Returns a new instance ofSecureRegularModeTransactionManager
.- Parameters:
cardReader
- The card reader to be used.card
- The selected card on which to operate the transaction.securitySetting
- The security setting to be used.- Returns:
- A new instance of
SecureRegularModeTransactionManager
. - Throws:
IllegalArgumentException
- If one of the parameters is null.- Since:
- 2.0.0
-
createSecureExtendedModeTransactionManager
SecureExtendedModeTransactionManager createSecureExtendedModeTransactionManager(org.eclipse.keypop.reader.CardReader cardReader, CalypsoCard card, SymmetricCryptoSecuritySetting securitySetting) Returns a new instance ofSecureExtendedModeTransactionManager
.- Parameters:
cardReader
- The card reader to be used.card
- The selected card on which to operate the transaction.securitySetting
- The security setting to be used.- Returns:
- A new instance of
SecureExtendedModeTransactionManager
. - Throws:
IllegalArgumentException
- If one of the parameters is null.- Since:
- 2.0.0
-
createSecurePkiModeTransactionManager
SecurePkiModeTransactionManager createSecurePkiModeTransactionManager(org.eclipse.keypop.reader.CardReader cardReader, CalypsoCard card, AsymmetricCryptoSecuritySetting securitySetting) Returns a new instance ofSecurePkiModeTransactionManager
.- Parameters:
cardReader
- The card reader to be used.card
- The selected card on which to operate the transaction.securitySetting
- The security setting to be used.- Returns:
- A new instance of
SecurePkiModeTransactionManager
. - Throws:
IllegalArgumentException
- If one of the parameters is null.- Since:
- 2.1.0
-
createSearchCommandData
SearchCommandData createSearchCommandData()Returns a new instance ofSearchCommandData
.- Returns:
- A new instance of
SearchCommandData
. - Since:
- 2.0.0
-