In OathObj.java file defines OathObj class [*]that defines the objects used in this applet. The instance of Each object contains the following variables:

name: In setName()function is assigned.type: In SetKey()function is assigned.digits: In setDigits()function is assigned.counter: In SetKey()function is assigned to 0, and in calculate() function is changed.imf: In SetImf()function is assigned.active: In setActive()function is assigned.inner/outer: In SetKey()function is assigned.

Note:

The SetKey()function is called in handlePut() and handleChangeCode().

Before sending APDU commands to JCRE, you must need to initialize these variables.

Board Disclaimer

The views and comments posted in these fora are personal and do not necessarily represent the those of the Management of JavaCard OS.

The Management of JavaCard OS does not, under any circumstances whatsoever, accept any responsibility for any advice, or recommentations, made by, or implied by, any member or guest vistor of JavaCard OS that results in any loss whatsoever in any manner to a member of JavaCard OS, or to any other person.

Furthermore, the Management of JavaCard OS is not, and cannot be, responsible for the content of any other Internet site(s) that have been linked to from JavaCard OS.