I have been getting a similar error, but do not know the origin.  In my javacard 
applet, I never throw the 61XX exception. however, I get a 6102 response status from a 
APDU response that should otherwise return 0x9000.  I have tested the applet in a 
windows environment, and I do not get this error, but when running in Linux, this is 
the response that I see.  any ideas?

Thanks,

David

-----Original Message-----
From: Alvin Cai @ Airos Group Inc [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 20, 2003 11:37 AM
To: [EMAIL PROTECTED]
Subject: [OCF] Bug in the new PC/SC CardTerminal
(Pcsc10CardTerminal.java)


There is a bug the new PC/SC CardTerminal. The file name is
Pcsc10CardTerminal.java.  In the method of internalSendAPDU, although some
processes are added to handle response code 61xx, however there is some
error inside. To finish a APDU command when response code is 61XX, the
wrapper should send the following APDU command to the card to get response:
00(CLA) C0(INS) 00 00 Le. But in OCF PC/SC wrapper, they use the CLA in last
APDU command to generate Get Response APDU command. For example, if the CLA
in your last APDU command is 80 A4 00 00 02 10 10, then the Get Response
APDU command is 80 C0 00 00 Le, so you always get 6D00 error.



---
> 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.


---
> 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.

Reply via email to