|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavacard.framework.Applet
com.licel.jcardsim.samples.odSample.packageB.B
public class B
package AID - 0xA0 0x00 0x00 0x00 0x62 0x03 0x01 0x0C 0x07 0x02 applet AID - 0xA0 0x00 0x00 0x00 0x62 0x03 0x01 0x0C 0x07 0x02 0x01 Applet used to demonstrate applet deletion and package deletion. It also demonstrates dependencies by sharing references to objects and shearable references across packages
Method Summary | |
---|---|
Shareable |
getShareableInterfaceObject(AID client_aid,
byte param)
method returns pointer to this instance, ignores the param |
static void |
install(byte[] bArr,
short bOffset,
byte bLength)
method instantiates aninstance of B passing the arguments |
void |
process(APDU apdu)
method processes the APDU commands passed to this applet instance. |
void |
resetReference()
method resets reference in bRef field to null. |
void |
setReference(B b)
method sets reference in bRef field to input parameter B object. |
void |
uninstall()
uninstall method called before applet deletion |
Methods inherited from class javacard.framework.Applet |
---|
deselect, register, register, select, selectingApplet |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void install(byte[] bArr, short bOffset, byte bLength)
public Shareable getShareableInterfaceObject(AID client_aid, byte param)
getShareableInterfaceObject
in class Applet
client_aid
- the AID
object of the client appletparam
- optional parameter byte. The parameter byte may be used by the client to specify
which shareable interface object is being requested.
null
public void process(APDU apdu) throws ISOException
process
in class Applet
apdu
- the incoming APDU
object
ISOException
- with the response bytes per ISO 7816-4APDU
public void setReference(B b)
public void resetReference()
public void uninstall()
uninstall
in interface AppletEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |