Class LegacySamCardExtensionService
- java.lang.Object
-
- org.eclipse.keyple.card.calypso.crypto.legacysam.LegacySamCardExtensionService
-
- All Implemented Interfaces:
org.eclipse.keyple.core.common.KeypleCardExtension
public final class LegacySamCardExtensionService extends java.lang.Object implements org.eclipse.keyple.core.common.KeypleCardExtension
Card extension dedicated to the management of Calypso legacy SAMs (SAM-C1, HSM-C1, etc...).- Since:
- 0.2.0
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.keyple.core.service.resource.spi.CardResourceProfileExtension
createLegacySamResourceProfileExtension(org.calypsonet.terminal.calypso.crypto.legacysam.sam.LegacySamSelection legacySamSelection)
Returns aCardResourceProfileExtension
to be used with the card resource service.java.lang.String
getCardApiVersion()
org.calypsonet.terminal.calypso.crypto.legacysam.transaction.LSCommandDataFactory
getCommandDataFactory()
Returns aLSCommandDataFactory
.java.lang.String
getCommonApiVersion()
static LegacySamCardExtensionService
getInstance()
Returns the service instance.org.calypsonet.terminal.calypso.crypto.legacysam.sam.LegacySamSelectionFactory
getLegacySamSelectionFactory()
Returns aLegacySamSelectionFactory
.java.lang.String
getReaderApiVersion()
org.calypsonet.terminal.calypso.crypto.legacysam.transaction.LSTransactionManagerFactory
getTransactionManagerFactory()
Returns aLSTransactionManagerFactory
.
-
-
-
Method Detail
-
getInstance
public static LegacySamCardExtensionService getInstance()
Returns the service instance.- Returns:
- A not null reference.
- Since:
- 0.2.0
-
getReaderApiVersion
public java.lang.String getReaderApiVersion()
- Specified by:
getReaderApiVersion
in interfaceorg.eclipse.keyple.core.common.KeypleCardExtension
- Since:
- 0.2.0
-
getCardApiVersion
public java.lang.String getCardApiVersion()
- Specified by:
getCardApiVersion
in interfaceorg.eclipse.keyple.core.common.KeypleCardExtension
- Since:
- 0.2.0
-
getCommonApiVersion
public java.lang.String getCommonApiVersion()
- Specified by:
getCommonApiVersion
in interfaceorg.eclipse.keyple.core.common.KeypleCardExtension
- Since:
- 0.2.0
-
getLegacySamSelectionFactory
public org.calypsonet.terminal.calypso.crypto.legacysam.sam.LegacySamSelectionFactory getLegacySamSelectionFactory()
Returns aLegacySamSelectionFactory
.- Returns:
- A not null reference.
- Since:
- 0.2.0
-
createLegacySamResourceProfileExtension
public org.eclipse.keyple.core.service.resource.spi.CardResourceProfileExtension createLegacySamResourceProfileExtension(org.calypsonet.terminal.calypso.crypto.legacysam.sam.LegacySamSelection legacySamSelection)
Returns aCardResourceProfileExtension
to be used with the card resource service.- Parameters:
legacySamSelection
- The legacy SAM selection to use.- Returns:
- A not null reference.
- Throws:
java.lang.IllegalArgumentException
- If no SAM selection is provided.- Since:
- 0.2.0
-
getTransactionManagerFactory
public org.calypsonet.terminal.calypso.crypto.legacysam.transaction.LSTransactionManagerFactory getTransactionManagerFactory()
Returns aLSTransactionManagerFactory
.- Returns:
- A not null reference.
- Since:
- 0.2.0
-
getCommandDataFactory
public org.calypsonet.terminal.calypso.crypto.legacysam.transaction.LSCommandDataFactory getCommandDataFactory()
Returns aLSCommandDataFactory
.- Returns:
- A not null reference.
- Since:
- 0.2.0
-
-