com.licel.jcardsim.samples
Class HelloWorldApplet
java.lang.Object
javacard.framework.Applet
com.licel.jcardsim.samples.HelloWorldApplet
public class HelloWorldApplet
- extends Applet
Basic HelloWorld JavaCard Applet
Constructor Summary |
protected |
HelloWorldApplet(byte[] bArray,
short bOffset,
byte bLength)
Only this class's install method should create the applet object. |
Method Summary |
static void |
install(byte[] bArray,
short bOffset,
byte bLength)
This method is called once during applet instantiation process. |
void |
process(APDU apdu)
This method is called each time the applet receives APDU. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HelloWorldApplet
protected HelloWorldApplet(byte[] bArray,
short bOffset,
byte bLength)
- Only this class's install method should create the applet object.
install
public static void install(byte[] bArray,
short bOffset,
byte bLength)
throws ISOException
- This method is called once during applet instantiation process.
- Parameters:
bArray
- bOffset
- bLength
-
- Throws:
ISOException
process
public void process(APDU apdu)
- This method is called each time the applet receives APDU.
- Specified by:
process
in class Applet
- Parameters:
apdu
- the incoming APDU
object- See Also:
APDU