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.KeypleCardExtensionCard 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.CardResourceProfileExtensioncreateLegacySamResourceProfileExtension(org.calypsonet.terminal.calypso.crypto.legacysam.sam.LegacySamSelection legacySamSelection)Returns aCardResourceProfileExtensionto be used with the card resource service.java.lang.StringgetCardApiVersion()org.calypsonet.terminal.calypso.crypto.legacysam.transaction.LSCommandDataFactorygetCommandDataFactory()Returns aLSCommandDataFactory.java.lang.StringgetCommonApiVersion()static LegacySamCardExtensionServicegetInstance()Returns the service instance.org.calypsonet.terminal.calypso.crypto.legacysam.sam.LegacySamSelectionFactorygetLegacySamSelectionFactory()Returns aLegacySamSelectionFactory.java.lang.StringgetReaderApiVersion()org.calypsonet.terminal.calypso.crypto.legacysam.transaction.LSTransactionManagerFactorygetTransactionManagerFactory()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:
getReaderApiVersionin interfaceorg.eclipse.keyple.core.common.KeypleCardExtension- Since:
- 0.2.0
-
getCardApiVersion
public java.lang.String getCardApiVersion()
- Specified by:
getCardApiVersionin interfaceorg.eclipse.keyple.core.common.KeypleCardExtension- Since:
- 0.2.0
-
getCommonApiVersion
public java.lang.String getCommonApiVersion()
- Specified by:
getCommonApiVersionin 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 aCardResourceProfileExtensionto 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
-
-