opencard.core.service
Interface CardIDFilter
- public abstract interface CardIDFilter
An interface for filtering CardIDs.
An application may be interested only in smartcards with a particular ATR.
This interface can be used in combination with class CardRequest
to select some ATRs, represented by an instance of class CardID.
- See Also:
CardID
,
CardRequest
Method Summary |
boolean |
isCandidate(CardID cardID)
Checks whether a card ID is a candidate for satisfying a card request. |
isCandidate
public boolean isCandidate(CardID cardID)
- Checks whether a card ID is a candidate for satisfying a card request.
- Parameters:
cardID
- the card ID that may be a candidate- Returns:
- true if the card ID is a candidate,
false otherwise