Last June, I mentioned on the OCF mailing list a white paper describing how to
use OCF 1.1.1 inside an applet and how to sign the applet for the different
security models: Microsoft IE, Netscape Navigator, JDK 1.1.8, JDK 1.2.2.
This white paper (title: "Internet and Smart Card Application Deployment") will
be available on the web at www.smartcardcentral.com by next week. If you want to
get this paper earlier, please feel free to send me a personal e-mail and I will
forward you the white paper.
I originally wrote the paper for OCF 1.1.1 using PC/SC driver. The white paper
provides detailed information and scripts on how to sign an applet for each
security model. Any signed applet built on top of OCF 1.1.1 and using a PC/SC
driver to connect to the terminal will correctly work on any of the 4 security
models.

I did this week additional testing using OCF 1.1.1 and a pure Java driver
(Gemplus OCF driver). I was able to open a connection to the terminal and the
smart card for Microsoft IE security model and Sun JDK 1.1.8 security model.
When using Microsoft IE, you explicitly need to enable File I/O privilege to be
able to access the file javax.comm.properties (see other e-mail I sent today to
the mailing list).
As explained previously on the mailing list, Sun JDK 1.2.2 security model does
not yet support the Java Communications API inside an applet.
Regarding Netscape security model, I was unable to make it work with OCF 1.1.1
and Gemplus pure Java driver. I got the following error message:
java.lang.NullPointerException. It seems that Netscape VM is unable to find the
javax.comm.properties (even when it is renamed .javax.comm.properties and
located inside \Program Files\Netscape\Users\<user>). I think the Java
Communications API only look inside the java.home\lib folder and, unfortunately,
java.home is empty for Netscape VM!!!

I hope this will help.

Xavier Lorphelin
[EMAIL PROTECTED]
"JSource, Your Source for Java Card Expertise"


Visit the OpenCard Framework's WWW site at http://www.opencard.org/ for
access to documentation, code, presentations, and OCF announcements.
-----------------------------------------------------------------------------
To unsubscribe from the OCF Mailing list, send a mail to
"[EMAIL PROTECTED]" with the word "unsubscribe" in the BODY of the
message.

Reply via email to