public class HelloWorldApplet extends BaseApplet
| Modifier | Constructor and Description |
|---|---|
protected |
HelloWorldApplet(byte[] bArray,
short bOffset,
byte bLength)
Only this class's install method should create the applet object.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
install(byte[] bArray,
short bOffset,
byte bLength)
This method is called once during applet instantiation process.
|
void |
process(javacard.framework.APDU apdu)
This method is called each time the applet receives APDU.
|
protected HelloWorldApplet(byte[] bArray,
short bOffset,
byte bLength)
bArray - the array containing installation parametersbOffset - the starting offset in bArraybLength - the length in bytes of the parameter data in bArraypublic static void install(byte[] bArray,
short bOffset,
byte bLength)
throws javacard.framework.ISOException
bArray - the array containing installation parametersbOffset - the starting offset in bArraybLength - the length in bytes of the parameter data in bArrayjavacard.framework.ISOException - if the install method failedpublic void process(javacard.framework.APDU apdu)
process in class javacard.framework.Applet