Re: MUSCLE how can i use smart card with netscape?

2001-05-21 Thread Erwann ABALEA

On Mon, 21 May 2001, Ysek Chung wrote:

 i have GemPC410 reader and GPK8000 card, and
 i'm studing smart card on linux.
 now i'm tring to use smart card on netscape such as MS windows,
 but i can't find any information for help.

 how can i use smart card with netscape?

You have to write or use a PKCS#11 compliant library. This library will
use the smartcard as a cryptoprovider, and certificates container, and
Netscape will use this PKCS#11 library to use high-level crypto
operations.

Right now, I don't think there exists any PKCS#11 library for the
Gemplus GPK8000 card running under Unix/Linux.

-- 
Erwann ABALEA
[EMAIL PROTECTED]
RSA PGP Key ID: 0x2D0EABD5
-
Computers are useless.  They can only give you answers
- Pablo Picasso

***
Linux Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/smartcard/index.html
***



Re: MUSCLE how can i use smart card with netscape?

2001-05-21 Thread Tommaso Cucinotta

Ysek Chung wrote:
 how can i use smart card with netscape?
 
Hello,

in order to use SCs with Netscape you should get a
PKCS#11 module (library) from the SC vendor, if
available. Otherwise, use what they provide for use
with IE.

My project, SmartSign, works with Cyberflexes under
Linux.

Hope this helps,

Tommaso.

-- 
/\
|  Dr. Tommaso Cucinotta [EMAIL PROTECTED]  |
++
| Scuola Superiore di Studi Universitari |
|e Perfezionamento S.Anna|
|  Pisa   Italy  |
\/
***
Linux Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/smartcard/index.html
***



Re: MUSCLE how can i use smart card with netscape?

2001-05-21 Thread R. Argentini


how can i use smart card with netscape?

Probably the best way is to use Java.
You need to implement native (C) wrapper functions to some/most of the PCSC 
API functionality. Then you can simply write an applet that uses those 
functions to perform whatever tasks you need to perform.

Please note that the Netscape JVM is rather strict about what it allows 
Java code to do.
You will probably need to have the user install the native libraries ahead 
of time. Another thing that will definately need doing is to modify the 
java policy files in order to allow code signed with a particular 
certificate to link with your native libraries.

Please exercise caution when granting permissions to applets. Granting too 
many rights can have disastrous effects on security, and probably security 
is the reason you were using smartcards in the first place :)

If you are not terribly fluent in Java, native methods and all of their 
security policy quirks, I can reccomend referring to the Online Tutorial on 
java.sun.com.
http://java.sun.com/docs/books/tutorial/index.html

Good luck!

Ranieri.

***
Linux Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/smartcard/index.html
***



Re: MUSCLE how can i use smart card with netscape?

2001-05-21 Thread Ysek Chung

Thanks for your help!

 in order to use SCs with Netscape you should get a
 PKCS#11 module (library) from the SC vendor, if
 available. Otherwise, use what they provide for use
 with IE.

as stupid question, can i use MS windows PKCS11 library?

thank you!
***
Linux Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/smartcard/index.html
***