Hello,
I used the new PC/SC CardTerminal version that you have sent, it does not
give SCardTransmit error. But it gives error saying 'Did not recognize the
APDU command'.
----------------------------------------------------------------------------
----
opencard.core.terminal.CardTerminalException: Did not recognize the APDU
command
at
com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal.internalSendAPDU(Pcsc10C
ardTerminal.java:808)
----------------------------------------------------------------------------
----
In this case the execution thread do not even reach to the SCardTransmit
method call.
In file Pcsc10CardTerminal.java the values of variables 'lenbuf' (85 d) and
'le' (128 d), makes the execution thread to skip all if/else cases, which
decide the caseAPDU, and take to last 'else' which executes this statement:
throw new CardTerminalException("Did not recognize the APDU
command");
Thank you,
Smita
-----Original Message-----
From: Christophe Muller [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 02, 2001 10:53 AM
To: Smita Ayyadevara
Subject: Re: [OCF] Signing data using Schlumberger Cyberflex Access
Smart Cards
Hello,
Smita Ayyadevara wrote:
> Has anybody faced any problem signing data/hash using the private key
> stored on Cyberflex Access card.
>
> I am trying to sign the data with the key on smart card from an java
> application. And I am getting error in SCardTransmit 'error code=
> 00000057'.
This error looks like a long APDU case 4 that is not handled by
the "classical" PC/SC CardTerminal found in OCF 1.2. I have already
posted a reply to your request in December, did you try with the
version of PC/SC CardTerminal I sent ? Does it still give the
same error ?
Cheers,
Christophe.
= "If an undetectable error occurs, the processor continues as if =
= no error had occurred." -- IBM S/360 Principles of Operation =
--
-------------------------------------------------------------
[EMAIL PROTECTED] - Gemplus Research Lab
Phone: +33 4-42-36-57-83 | Disclaimer: I don't speak for Gemplus
Gemplus doesn't speak for me... it is better that way!
-------------------------------------------------------------
---
> 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.