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.

Reply via email to