Class 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 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 interface org.eclipse.keyple.core.common.KeypleCardExtension
        Since:
        0.2.0
      • getCardApiVersion

        public java.lang.String getCardApiVersion()
        Specified by:
        getCardApiVersion in interface org.eclipse.keyple.core.common.KeypleCardExtension
        Since:
        0.2.0
      • getCommonApiVersion

        public java.lang.String getCommonApiVersion()
        Specified by:
        getCommonApiVersion in interface org.eclipse.keyple.core.common.KeypleCardExtension
        Since:
        0.2.0
      • getLegacySamSelectionFactory

        public org.calypsonet.terminal.calypso.crypto.legacysam.sam.LegacySamSelectionFactory getLegacySamSelectionFactory()
        Returns a LegacySamSelectionFactory.
        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 a CardResourceProfileExtension 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 a LSTransactionManagerFactory.
        Returns:
        A not null reference.
        Since:
        0.2.0
      • getCommandDataFactory

        public org.calypsonet.terminal.calypso.crypto.legacysam.transaction.LSCommandDataFactory getCommandDataFactory()
        Returns a LSCommandDataFactory.
        Returns:
        A not null reference.
        Since:
        0.2.0