Hello All,
I need your help urgently.
I have an applet with two text boxes one to accept the
userid and one to accept the pin.
I have to read the pin form the text boxes and present
it to the smartcard for validation.
Now from one of our friends Marc Maman I learn that I
have to do the following
channel.sendVerifiedAPDU(performCHVCommand, chvctrl,
getCHVDialog(),
-1);
//Initialize performCHVCommand this way:
CommandAPDU performCHVCommand = new CommandAPDU(14);
byte [] password = new byte [8];
performCHVCommand.setLength(0);
performCHVCommand.append((byte)0x00);
performCHVCommand.append((byte)0x20);
performCHVCommand.append((byte)0x00); // Parameter 1
performCHVCommand.append((byte)numCHV); // Parameter 2
performCHVCommand.append((byte)0x08); // Lc
performCHVCommand.append(password); // needed for
length of APDU
When I tried some other programs to do this, they
poped up some dialog box asking for pin. But in my
case the user has already entered his pin on the
applet.
So how do I get rid of the default dialog box and
substitute my applet in its place?
How do I present the Pin?
Expecting some solutions
Nitin
__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/
---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/
! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
! [EMAIL PROTECTED]
! containing the word
! unsubscribe
! in the body.