|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--opencard.opt.applet.AppletInfo | +--opencard.opt.emv.mgmt.EMVAppletInfo
The EMVAppletInfo encapsulates the information describing an application which is stored on an EMV'96 card.
It extends the generic AppletInfo class.
opencard.opt.applet.mgmt.AppletInfo
Field Summary | |
protected byte[] |
discrData
Discretionary Data retrieved from an EMV EF_DIR (optional) |
protected static java.lang.String[] |
hexChars
Auxillary string array. |
protected byte[] |
prefName
Preferred name retrieved from an EMV EF_DIR (optional) |
protected byte[] |
prioInd
Priority Index retrieved from an EMV EF_DIR (optional) |
Fields inherited from class opencard.opt.applet.AppletInfo |
aid,
data,
domain,
label |
Constructor Summary | |
protected |
EMVAppletInfo()
Instantiate an EMVAppletInfo. (hidden, contains "defaults" for all instances set by each constructor) |
|
EMVAppletInfo(AppletID aid,
java.lang.String label)
|
|
EMVAppletInfo(TLV info)
Instantiate an EMVAppletInfo from a TLV object. |
Method Summary | |
void |
fromEMVTLV(TLV info)
Analyses the given EMV compliant application description TLV and writes the data into the attributes of this class |
byte[] |
getDiscretionaryData()
Get the Discretionary Data. |
byte[] |
getPreferredName()
Get the application preferred name; Tag 0x9F12. |
byte[] |
getPriority()
Get the application priority indicator; Tag 0x87. |
TLV |
toEMVTLV()
Packs the attributes of this application info class into an EMV compliant TLV structure |
java.lang.String |
toString()
|
Methods inherited from class opencard.opt.applet.AppletInfo |
getAppletID,
getData,
getDomain,
getLabel,
setAppletID,
setData,
setDomain,
setLabel |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
protected byte[] prefName
protected byte[] prioInd
protected byte[] discrData
protected static final java.lang.String[] hexChars
Constructor Detail |
protected EMVAppletInfo()
public EMVAppletInfo(AppletID aid, java.lang.String label)
public EMVAppletInfo(TLV info) throws InvalidAppletInfoException
tlv
- A TLV object from which to instantiate.Method Detail |
public byte[] getPreferredName()
public byte[] getPriority()
public byte[] getDiscretionaryData()
public void fromEMVTLV(TLV info) throws InvalidAppletInfoException
info
- description of this application packed in an EMV TLV structurepublic TLV toEMVTLV()
public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |