I hadplaced that .dll everywhere where it was supposed to be and still
received errors (under Widnows). I found that by putting it into java\bin
it worked.
----- Original Message -----
From: "Hugo Paredes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 21, 2001 5:42 AM
Subject: [OCF] OCFPCSC1.dll and Applet PROBLEM
> Hi,
>
> I'm developing an applet for making digital signatures with a smart card.
> I'm using GemPKCS card personalized with a X509 certificate and a RSA 1024
> keypair, and a GemPC 410 Smart Card Reader.
> The applet should work in Microsoft Windows with IE 5.0. For developing it
> I'm using Windows 2000 Advanced Server and IE 5.00.3103.1000.
> My application works well when I try to run it outside the browser but
when
> I use it in the browser I have a problem with the PCSC wrapper.
> I have copy the OCFPCSC1.dll to \WINNT\System32 and I have the following
> error:
>
> java.lang.UnsatisfiedLinkError: no OCFPCSC1 in shared library path
> at java/lang/Runtime.loadLibrary
> at java/lang/System.loadLibrary
> at opencard/opt/ms/MicrosoftSystemAccess.loadLibrary
> at com/ibm/opencard/terminal/pcsc10/OCFPCSC1.loadLib
> at com/ibm/opencard/terminal/pcsc10/Pcsc10CardTerminalFactory.open
> at com/ibm/opencard/terminal/pcsc10/Pcsc10CardTerminalFactory.<init>
> at java/lang/Class.newInstance
> at opencard/core/service/SmartCard.handleTerminalFactoryEntries
> at opencard/core/service/SmartCard.configureTerminalRegistry
> at opencard/core/service/SmartCard.start
> ....
>
>
> when I run the code:
> ...
> opencard.core.util.SystemAccess sys = new
> opencard.opt.ms.MicrosoftSystemAccess();
> opencard.core.util.SystemAccess.setSystemAccess(sys);
> askBrowserPrivileges();
> SmartCard.start();
> System.out.println("\nWaiting for card");
> ....
>
> ....
> private void askBrowserPrivileges(){
> ...
>
>
com.ms.security.PolicyEngine.assertPermission(com.ms.security.PermissionID.F
> ILEIO);
>
>
com.ms.security.PolicyEngine.assertPermission(com.ms.security.PermissionID.N
> ETIO);
>
>
com.ms.security.PolicyEngine.assertPermission(com.ms.security.PermissionID.S
> YSTEM);
> ...
> }
>
> My opencad.proprieties file is like this:
> # Configuring the CardServiceRegistry
> OpenCard.services =
> com.gemplus.opencard.service.gpk.factory.GPKCardServiceFactory
>
> # Configuring the CardTerminalRegistry
> # The parameters after the class name are:
> # name, type, and address of the card terminal
> #OpenCard.terminals =
>
au.com.forge.opencard.schlumberger.terminal.Reflex60CardTerminalFactory|MyRe
> flex60|REFLEX60|COM1
> #OpenCard.terminals =
> com.gemplus.opencard.terminal.GemplusCardTerminalFactory|mygrc|GCR410|COM2
>
OpenCard.terminals=com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactor
> y|mygrc|GCR410|SHARED
>
> Can anyone tell me where should I put the OCFPCSC1.dll or is there any
other
> problem with my code?
>
> Thanks,
> HParedes
>
>
> --------------------------------------------------------------------------
--
> -
> Hugo Paredes <mailto:[EMAIL PROTECTED]>
> MULTICERT - SIBS, S.A. <http://www.multicert.com/>
>
> SIBS - Sociedade Interbancária de Serviços, S.A. <http://www.sibs.com/>
> Rua Soeiro Pereira Gomes, Lote 1 - 1649-031 Lisboa, Portugal
> Tel: + 351 21 791 87 00 Ext. 44 33 Fax: + 351 21 794 24 40
> --------------------------------------------------------------------------
--
> -
>
>
>
> ---
> > 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.