opencard.opt.applet
Interface AppletSelector
- All Known Implementing Classes:
- AbstractAppletAccessor, ISOAppletSelector
- public abstract interface AppletSelector
The AppletSelector interface defines the minimum
features that are necessary for working with card-resident applets.
- Since:
- OCF1.2
- Version:
- $Id: AppletSelector.java,v 1.1 1999/11/02 18:06:44 damke Exp $
- See Also:
CardChannel,
AppletID,
AppletInfo
selectApplet
public AppletInfo selectApplet(CardChannel channel,
AppletID appletIdentifier)
throws CardServiceException,
CardTerminalException
- Select a given applet with the specified AppletID.
- Parameters:
card - channel
The CardChannel object that must be used
if it is specified (if this argument is null,
the function must allocate a new card channel).applet - identifier
The AppletID object referring to the applet
to be selected.- Returns:
- applet info
an AppletInfo object with the information that
has been provided by the card (or at the minimum
an AppletInfo object including the Applet AID).
A ResponseAPDU object can be stored in the
"data" attribute of the returned AppletInfo in order to
provide more detailed information to the caller. - Throws:
- CardTerminalException - Thrown when error occurs during the communication.
- CardServiceException - Thrown when error occurs during execution of the operation.
|