Some records in my reading Oath Applet
Posted: Thu Dec 31, 2015 5:06 am
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:
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.