|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.jc.JCApplet
com.ibm.jc.LoadFile
This class implements the off-card behavior of an Executable Load File (package) on a Global Platform JavaCard.
| Field Summary | |
static int |
DELETED
Deprecated. |
static int |
LOADED
Executable Load file life cycle state |
static int |
NOT_AVAILABLE
Executable Load file life cycle state (proprietary) |
| Fields inherited from class com.ibm.jc.JCApplet |
apdu |
| Constructor Summary | |
LoadFile(JCard card,
byte[] aid,
int aidBeg,
int aidLen)
Create the off-card representation of an Executable Load File on a Global Platform JavaCard. |
|
LoadFile(JCard card,
byte[] aid,
int aidBeg,
int aidLen,
int state)
Create the off-card representation of an Executable Load File on a Global Platform JavaCard. |
|
LoadFile(JCard card,
byte[] aid,
int aidBeg,
int aidLen,
int state,
byte[][] modules)
Create the off-card representation of an Executable Load File on a Global Platform JavaCard. |
|
| Method Summary | |
byte[][] |
getModules()
Retrieve list of Executable Modules. |
int |
getState()
|
byte[] |
select()
A Load File cannot be selected. |
protected void |
setHeader(int cla,
int ins,
int p1,
int p2)
A Load File does not have an APDU buffer. |
void |
setModules(byte[][] modules)
Set list of Executable Modules. |
void |
setState(int s)
|
| Methods inherited from class com.ibm.jc.JCApplet |
equals, flush, getAID, getCard, getTerminal, setAID, setCard |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int NOT_AVAILABLE
public static final int LOADED
public static final int DELETED
| Constructor Detail |
public LoadFile(JCard card,
byte[] aid,
int aidBeg,
int aidLen)
card - the JavaCard the Load File resides on.aid - the buffer containing the AID of the Load File.aidBeg - offset into aidaidLen - the length of the Load File AID. This value must be
in the range [5;16].
JCException - if the AID is too short/long or if
card is null.
public LoadFile(JCard card,
byte[] aid,
int aidBeg,
int aidLen,
int state)
card - the JavaCard the Load File resides on.aid - the buffer containing the AID of the Load File.aidBeg - offset into aidaidLen - the length of the Load File AID. This value must be
in the range [5;16].state - the life cycle state of the Load File.
JCException - if the AID is too short/long or if
card is null.LOADED,
NOT_AVAILABLE,
DELETED
public LoadFile(JCard card,
byte[] aid,
int aidBeg,
int aidLen,
int state,
byte[][] modules)
card - the JavaCard the Load File resides on.aid - the buffer containing the AID of the Load File.aidBeg - offset into aidaidLen - the length of the Load File AID. This value must be
in the range [5;16].state - the life cycle state of the Load File.modules - AIDs of Executable Modules within this Load File.
Might be null.
JCException - if the AID is too short/long or if
card is null.LOADED,
NOT_AVAILABLE,
DELETED| Method Detail |
public byte[][] getModules()
null.setModulespublic void setModules(byte[][] modules)
getModulespublic int getState()
NOT_AVAILABLE,
LOADED,
DELETEDpublic void setState(int s)
s - the state to be set.
NOT_AVAILABLE,
LOADED,
DELETEDpublic byte[] select()
select in class JCApplet
protected void setHeader(int cla,
int ins,
int p1,
int p2)
setHeader in class JCApplet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||