HelloWorldApplet



com.licel.jcardsim.samples
Class HelloWorldApplet

java.lang.Object
  extended by javacard.framework.Applet
      extended by 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 javacard.framework.Applet
deselect, getShareableInterfaceObject, register, register, select, selectingApplet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HelloWorldApplet

protected HelloWorldApplet(byte[] bArray,
                           short bOffset,
                           byte bLength)
Only this class's install method should create the applet object.

Method Detail

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