Announce two new product: SmartCard Reader Rockey200 and USB2.0 Extension Cable

ROCKEY 200 is a handy and portable USB Smart Card reader that can perform read/write operations on any ISO 7816-1/2/3/4 smart cards which are compatible with protocol T=0 and T=1.

USB2.0 Extension Cable With high speed USB 2.0 devices such as USB token ,USB Card Reader and so on.

Come to try it now!

Some records in my reading Oath Applet

This project implement the HOTP/TOTP card functionality.

Moderator: Ellisun

nobody2015
Posts: 15
Joined: Wed Aug 19, 2015 3:11 am
Points: 48
Contact:

Some records in my reading Oath Applet

Postby nobody2015 » 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:
    The SetKey()function is called in handlePut() and handleChangeCode().
    Before sending APDU commands to JCRE, you must need to initialize these variables.

User avatar
JavaCardOS
Posts: 260
Joined: Thu Apr 30, 2015 12:00 pm
Points: 2275
Contact:

Re: Some records in my reading Oath Applet

Postby JavaCardOS » Thu Jan 07, 2016 6:14 am

Yes, these redords can be initialized from handlePut() function, and the format of the APDU command can be "80010000 Lc 71 L V + 73 L V(KeyType + digits + Value) + 78 L + 7A L"

You have must send this APDU command first, before you do other operations.


Return to “Ykneo Oath Applet”

Who is online

Users browsing this forum: No registered users and 1 guest

JavaCard OS : Disclaimer