My problem: - Mozilla-based Netscape has not implemented the window.crypto object. What someone has already done: - Written the SECCLAB XPCOM component. What are the problems with SECCLAB: - XPInstall packages are not signed - Requires reinitializing Netscape - It is not working with Netscape 7.1 (maybe recompiling SECCLAB could fix it) What is the other alternative: - JSS What are the problems with JSS: - Huge download What I want to do: - Write a small JNI wrapper for some NSS functions What is the showstopper problem: - I want to get the user's profile directory. It is possible using signed Javascript and XPCOM, but I want to sign only the Java applet. So I tried to call XPCOM from JNI to get the directory (identified by "ProfD"). The first thing to do is call NS_InitXPCOM2. But it seems to require the user's profile directory. What must I do instead?
Edson E. Watanabe
