Hello,

Smita Ayyadevara wrote:
> 
> Hello,
> I have installed Schlumberger's Cyberflex Access toolkit 3C with
> Reflex 72 smart card reader. I have stored a key pair on the smart
> card. Now if I try to use the private key to sign some data using
> CyberflexAccessSignatureCardService , I get the following exception.

> opencard.core.terminal.CardTerminalException: Pcsc10CardTerminal: PCSC
> Exception in method SCardTransmit: error occurred with SCardTransmit
> return code = 00000057

This error usually occurs whith the PC/SC wrapper CardTerminal
when a CardService tries to send T=0 case-4 long APDUs. It is due
to a mismatch between the OCF specs (the CardTerminal is in charge
of handling the chaining of APDUs automatically) and the fact
that this CardTerminal is not doing it, nor PC/SC itself.
One solution is to use a pure-java driver (CardTerminal) that
does the right thing, such as the GemplusCardTerminal for GemPC
readers. An other solution is to fix the PC/SC wrapper.

I will post a new version of the PC/SC CardTerminal beginning
of next year with a patch that solves this problem and several
other goodies that have been developed by R&D people here.
This new version will also be forwarded to IBM, the official
maintener of the PC/SC CardTerminal, for inclusion into
the next OCF version.

Please find attached a preview beta of this new PC/SC wrapper
CardTerminal. It is a ZIP file containing a README (list of new
features and how to install/use it), the sources directory, and
a compiled (and directly usable) JAR file.

Please do not hesitate to send me any problem report *or* any
patch that fix them (preferably ;-D). I will be back only on
January 2nd to read the results.. :-). Note that the included
source directory "pcsc10/" replaces the one that is called:


OCF1.2/components/pcsc-wrapper-src/src/com/ibm/opencard/terminal/pcsc10/

in your regular OCF1.2 distribution. You might need the file found in
.../terminal/pcsc/ in order to recompile..

Happy Holidays, Merry Xmas, and Happy New Year !

Cheers,
Christophe.

 = Utopia would be free speech, free software, AND free beer. --Davo. =
--
-------------------------------------------------------------
[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!
-------------------------------------------------------------

newpcsc.zip

Reply via email to