opencard.opt.applet
Interface AppletSelector

All Known Implementing Classes:
AbstractAppletAccessor, BasicEMVAppletAccess, ISOAppletSelector

public 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.2 2000/01/14 09:32:26 damke Exp $
Author:
Christophe.Muller@research.gemplus.com
See Also:
CardChannel, AppletID, AppletInfo

Method Summary
 AppletInfo selectApplet(CardChannel channel, AppletID appletIdentifier)
          Select a given applet with the specified AppletID.
 

Method Detail

selectApplet

AppletInfo selectApplet(CardChannel channel,
                        AppletID appletIdentifier)
                        throws CardServiceException,
                               CardTerminalException
Select a given applet with the specified AppletID.

Parameters:
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).
appletIdentifier - 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.