Hi all,
I have Fedora 3, and my Smart Card Reader is GemPlus Twin for USB!
I put the libraries: base-core.jar ; base-opt.jar , comm.jar , gemplus-gpk-0.3.jar, gemplus-service-0.3.jar, gemplus - terminals-4.1.jar , jcl.jar and pcsc-wrapper-2.0.jar in .../jdk1.4/jre/lib/ext
I'am trying to test the OCF1.2 and my opencard.properties is:
############################### # Card service configuration # ###############################
OpenCard.services = \
com.ibm.opencard.factory.MFCCardServiceFactory \
opencard.opt.util.PassThruCardServiceFactory############################### # Card terminal configuration # ###############################
OpenCard.terminals = com.gemplus.opencard.terminal.GemplusCardTerminalFactory
############################### # Trace configuration # ###############################
OpenCard.trace = opencard:5
Then,
[samples]$ java demos.samples.GetCardID ------------------------------------------------------------------------------ -------------- start use case: get a card ID
[DEBUG ] opencard.core.service.SmartCard.getRegistryEntry
--- message tag OpenCard.terminals =com.gemplus.opencard.terminal.GemplusCardTerminalFactory
--- thread Thread[main,5,main]
--- source class opencard.core.service.SmartCard
CardTerminalException: at least 2 parameters necessary to identify the terminal
finished use case: get a card ID ------------------------------------------------------------------------------
Now, what a put here:
OpenCard.terminals = com.gemplus.opencard.terminal.GemplusCardTerminalFactory|?????|?????
^^^^^^^^^^^
1) ....nothing???
More, i trying put:
OpenCard.terminals = com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory
But,
samples]$java demos.samples.GetCardID ------------------------------------------------------------ start use case: get a card ID
[DEBUG ] opencard.core.service.SmartCard.getRegistryEntry --- message tag OpenCard.terminals =com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory --- thread Thread[main,5,main] --- source class opencard.core.service.SmartCard
Exception in thread "main" java.lang.UnsatisfiedLinkError: no OCFPCSC1 in java.library.path
2) which of the two must use?
OpenCard.terminals = com.gemplus.opencard.terminal.GemplusCardTerminalFactory|?????|?????
^^^^^^^^^^^
or
OpenCard.terminals = com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory
3) Do i have to install OCFPCSC1-0.0.1 to put this working?
I have seeing the mailinglist and i don't see any idea for using opencard.properties in my case! Note: for GemPlus Twin USB and Fedora 3
Thanks for your attention!
Bruno Gouveia
[[]]
_________________________________________________________________ MSN Busca: f�cil, r�pido, direto ao ponto. http://search.msn.com.br
_______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
