Signing an applet for Netscape and IE
Posted on 2001-06-04
I am currently developing a small applet. It needs to be able to create some shortcuts on the client's machine, in the user's Start Menu and Desktop (The applet is intended only for use on Windows machines).
As the applet needs to create files, and access the user.home system property, it needs to be signed, which is where I'm experiencing difficulty.
Originally, I intended to implement the applet for the Java plug in, as I felt that would provide the best cross browser solution. Plus, I'd only have to sign the applet once, for all browsers.
However, as I later discovered, the plug in consists of a 4MB download. Which is basically too large, considering the small size and simple purpose of the applet.
Thus, unless anyone can suggest any better ideas, I'm forced to implement the applet for the internal JVMs offered by IE and Netscape.
So, I have some questions:
1. Would I need to provide two applets, one signed for netscape, and one for IE, or is there a way to sign a 1.1 applet for both browsers?
2. What is the best certificate to use?
3. Can I use the same certificate for both browsers?
4. What software should I use to sign the applet?
5. Can I use Microsoft's Java SDK to sign a Sun applet?
Any information would be great, as I'm really stuck on this one.