Hi mark,
I too am stuck on the same problem. I have used xpi to install nss on
the client m/c. However I am not able to find the function to get the
"config dir" of the client m/c using java or javascript. Can you help?

Rgds
Kohinoor
"Mark Shark" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> "Turbo" wrote
> 
> > I'm looking for soulution for digital signing of web form.
> > For Netscape 4.x I use crypto.signText in javascript.
> >
> > Problem is with Netscape version 6.x and 7.x and Mozilla.
> > There is no signText implementation.
> 
> see mozilla bug 139258.
> 
> http://bugzilla.mozilla.org/show_bug.cgi?id=139258
> 
> 
> > As I can see Netscape and Mozilla have all this functions in NSS library
> > and there is JSS which use NSS for crypto operation.
> 
> To be able to use JSS from Java applet you have to:
> install nss, jss on the user machine first.
> 
> > Is there any way to make Java applet using JSS which could access to
> > running netcape/mozilla keystore and use user's private key to sign some
> > data supplied by javascript and return signed data to javascript ?
> >
> You can create a signed applet and you will be able to use the mozilla
> keystore and
> user's private key to sign data. I haven't checked if it is possible to
> communicate
> from javascript to java and vice versa.
> 
> > I found out that CryptoManager must be initialized with path to
> > configDir but is there any way for applet to get all data from running
> > netscape without accessing filesystem ?
> 
> You can get configDir by using javascript functions and pass it to the
> applet.
> 
> > Is there any chance that sometime in future new version of
>  netscape/mozilla
> > will have crypto.signText implemented ?
> 
> It is on a list of things to be done but it has low priority.
> 
> Regards,
> 
> Mark

Reply via email to