opencard.opt.applet
Class AppletInfo
java.lang.Object
|
+--opencard.opt.applet.AppletInfo
- Direct Known Subclasses:
- EMVAppletInfo
- public class AppletInfo
- extends java.lang.Object
The AppletInfo encapsulates the descriptive information about
an applet stored on a smart card (e.g. security Domain or AppletID).
AppletInfo is a generic class which is card type independent.
It can be subclassed to add more specific informations which
are specific for a card type (e.g. for JavaCard or EMV compliant card).
- Since:
- OCF1.2
- Version:
- $Id: AppletInfo.java,v 1.2 1999/11/23 13:25:56 damke Exp $
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
label
protected java.lang.String label
- Applet label
aid
protected AppletID aid
- Applet ID
domain
protected SecurityDomain domain
- Security Domain
(e.g. Applet Path on ISO cards or applets on JavaCards)
data
protected java.lang.Object data
- Free data
AppletInfo
public AppletInfo()
setAppletID
protected void setAppletID(AppletID _aid)
- Set the applet identifier (AppletID).
- Parameters:
An - Applet ID.
setAID
protected void setAID(AppletID _aid)
setLabel
protected void setLabel(java.lang.String _label)
- Set the applet label.
- Parameters:
A - label.
setDomain
public void setDomain(SecurityDomain _domain)
- Set the applet security domain
- Parameters:
A - SecurityDomain
setData
protected void setData(java.lang.Object _data)
- Set the applet data.
- Parameters:
additional - Data assigned to the applet
getLabel
public java.lang.String getLabel()
- Get the applet label.
- Returns:
- A label string describing the applet.
getAppletID
public AppletID getAppletID()
- Get the applet identifier (AppletID).
- Returns:
- An Applet ID.
getDomain
public SecurityDomain getDomain()
- Get the applet security domain
- Returns:
- A SecurityDomain
getData
public java.lang.Object getData()
- Get the applet data.
- Returns:
- A data object related to the applet.
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Object
|