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 TypeMethodDescriptionorg.eclipse.keypop.reader.selection.spi.SmartCardmatches(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.org.eclipse.keypop.reader.selection.spi.SmartCardmatches(org.eclipse.keypop.reader.selection.spi.SmartCard smartCard) Checks if the provided selected smart card is as expected by the profile.
-
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 ofReaderApiFactory.- Returns:
- A
SmartCardor null if no card is inserted or if its profile does not match the associated data. - Since:
- 2.0.0
-
matches
org.eclipse.keypop.reader.selection.spi.SmartCard matches(org.eclipse.keypop.reader.selection.spi.SmartCard smartCard) Checks if the provided selected smart card is as expected by the profile.- Parameters:
smartCard- The selected smart card.- Returns:
- The provided
SmartCardor null if its profile does not match the associated data. - Since:
- 3.1.0
-