|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectopencard.opt.applet.AppletInfo
public class AppletInfo
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).
Field Summary | |
---|---|
protected AppletID |
aid
Applet ID |
protected java.lang.Object |
data
Free data |
protected SecurityDomain |
domain
Security Domain (e.g. |
protected java.lang.String |
label
Applet label |
Constructor Summary | |
---|---|
AppletInfo()
Creates a new AppletInfo instance. |
Method Summary | |
---|---|
AppletID |
getAppletID()
Get the applet identifier (AppletID). |
java.lang.Object |
getData()
Get the applet data. |
SecurityDomain |
getDomain()
Get the applet security domain |
java.lang.String |
getLabel()
Get the applet label. |
void |
setAppletID(AppletID _aid)
Set the applet identifier (AppletID). |
void |
setData(java.lang.Object _data)
Set the applet data. |
void |
setDomain(SecurityDomain _domain)
Set the applet security domain |
void |
setLabel(java.lang.String _label)
Set the applet label. |
java.lang.String |
toString()
Return the applet information as a string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String label
protected AppletID aid
protected SecurityDomain domain
protected java.lang.Object data
Constructor Detail |
---|
public AppletInfo()
Method Detail |
---|
public AppletID getAppletID()
public java.lang.Object getData()
public SecurityDomain getDomain()
public java.lang.String getLabel()
public void setAppletID(AppletID _aid)
_aid
- An Applet ID.public void setData(java.lang.Object _data)
public void setDomain(SecurityDomain _domain)
_domain
- A SecurityDomainpublic void setLabel(java.lang.String _label)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |