Hello !!

Well ... I'm also using an Oberthur AuthentIC smartCard ... with its reader
(OCR 120S).
I've used this card through a Internet Explorer & Netscape navigator ...
I'm not sure IE use the PS/SC Bridge for accessing the terminal ... The
Cryptographic Provider (in registry) point to a specific DLL ...

I notice that the 0011 file is not accessible for all ... I've made changes
too !!

Thanks for responses !!

-----Message d'origine-----
De : Talbot, Marc [mailto:[EMAIL PROTECTED]]
Envoy� : mercredi 20 d�cembre 2000 16:49
� : '[EMAIL PROTECTED]'
Objet : RE: [OCF] CardTerminalFactory Problem !!!


Hi,

You shouldn't need a special TerminalFactory from SLB.  I have an
environment almost identical to yours:  Reflex 72, Cyberflex Access, NT, JDK
1.2.2.  I'm able to use the CyberflexAccessFileSystemCardService with no
problems.  Are you able to use the PCSC bridge with any other cards, or are
you only using Cyberflex?  I'd like to isolate whether the problem is
related to the PCSC bridge or the Cyberflex CardServices.

BTW, I don't think you can read the 0011 file, unless you have used our
toolkit to change the access permissions.  By default, nobody is able to
read this file, since it contains the transport key.

Regards,
Marc Talbot
Schlumberger Smart Cards and Terminals
Austin, TX


-----Original Message-----
From: C�dric Malderez [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 20, 2000 8:56 AM
To: [EMAIL PROTECTED]
Subject: [OCF] CardTerminalFactory Problem !!!


Hello !!!

I'm actually trying to access to a Schlumberger Cyberflex Access card using
Schlumberger "CyberflexAccessFileSystemCardService" class ... throught
OpenCardFramework ...

I'm using a Schlumberger Reflex 72 Reader ... which is normaly OCF compliant
... as a PC/SC Reader !

I'm working under Microsoft Windows 2000 ... and using a JavaSoft JDK 1.2.2
...

I've done a simple Java program based on the one given in the OCF 1.2
Programmer's Guide (The ReadCardHolder Java program) ... changed in order to
match a SLB Cyberflex Card ... & to read a file at address 0011 ...

My problem is that each time I run my sample ... the following error appears
:
D:\CMZ\smartcard\OpenCard\Test>java -classpath
c:\jdk1.2.2\jre\lib\rt.jar;.;./SLBCyberflex.jar;C:\OpenCard\OCF1.2\lib\base-
core.jar;C:\OpenCard\OCF1.2\lib\base-opt.jar;C:\OpenCard\OCF1.2\lib\pcsc-wra
pper-src.jar;C:\OpenCard\OCF1.2\lib\reference-services.jar
ReadSLBCyberflexCardHolder
Reading SLB Cyberflex smarcard file ...
> Step1 : SmartCard.start()
Exception in thread "main" java.lang.UnsatisfiedLinkError: no OCFPCSC1 in
java.library.path
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1249)
        at java.lang.Runtime.loadLibrary0(Runtime.java:470)
        at java.lang.System.loadLibrary(System.java:778)
        at
opencard.core.util.SystemAccess.loadLibrary(SystemAccess.java:111)
        at
com.ibm.opencard.terminal.pcsc10.OCFPCSC1.loadLib(OCFPCSC1.java:64)
        at
com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory.open(Pcsc10CardTe
rminalFactory.java:94)
        at
com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory.<init>(Pcsc10Card
TerminalFactory.java:65)
        at java.lang.Class.newInstance0(Native Method)
        at java.lang.Class.newInstance(Class.java:241)
        at
opencard.core.service.SmartCard.handleTerminalFactoryEntries(SmartCard.java,
Compiled Code)
        at
opencard.core.service.SmartCard.configureTerminalRegistry(SmartCard.java,
Compiled Code)
        at opencard.core.service.SmartCard.start(SmartCard.java:534)
        at
ReadSLBCyberflexCardHolder.main(ReadSLBCyberflexCardHolder.java:31)

As you can see ... the OCFPCSC1 class which is in the pcsc-wrapper-src.jar
file ... is in classpath.
why the java.lang.ClassLoader does not find it ??

Anyway ... I've tried to change the opencard.properties file, in the JRE lib
folder, and comment the line in red:
###############################
# Card service configuration  #
###############################

OpenCard.services = \
        com.slb.opencard.CyberflexAccess.CyberflexAccessCardServiceFactory \
    com.ibm.opencard.factory.MFCCardServiceFactory \
    opencard.opt.util.PassThruCardServiceFactory

###############################
# Card terminal configuration #
###############################

# OpenCard.terminals =
com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory

###############################
# Trace configuration         #
###############################

OpenCard.trace = opencard:5

My sample can be ran ... but ... even if I insert a card on my reader ...
nothing appears ... !


Could you tell me if I do it correctly ... of if I need a special
TerminalFactory from Schlumberger ???
I would really appreciate for helping !!!

Sincerely,

Malderez C�dric !



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