Interface CardResourceProfileExtension


public interface CardResourceProfileExtension
Provides means to check if a reader contains a card that matches a given profile.
Since:
2.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    org.eclipse.keypop.reader.selection.spi.SmartCard
    matches(org.eclipse.keypop.reader.CardReader reader, org.eclipse.keypop.reader.ReaderApiFactory readerApiFactory)
    Checks if a card is inserted in the provided reader, selects it, evaluates its profile and potentially executes any necessary commands.
  • Method Details

    • matches

      org.eclipse.keypop.reader.selection.spi.SmartCard matches(org.eclipse.keypop.reader.CardReader reader, org.eclipse.keypop.reader.ReaderApiFactory readerApiFactory)
      Checks if a card is inserted in the provided reader, selects it, evaluates its profile and potentially executes any necessary commands.
      Parameters:
      reader - The reader in which the card is supposed to be inserted.
      readerApiFactory - A instance of ReaderApiFactory.
      Returns:
      A SmartCard or null if no card is inserted or if its profile does not match the associated data.
      Since:
      2.0.0