Request for example of creating a PKCS #12 for RSA key from the internal token

2007-11-14 Thread Bill Price
Can someone post (or reference) sample code showing how to use JSS to create a PKCS #12 for a RSA key and certs held in the internal token? I am having trouble getting the private key into a keybag, safecontents, and authenticated safes. I have seen the example of creating a PFX on lxr.mozilla.

Re: problem with jss sha1withrsa verify raising exceptions (works in jss 3.3, jss 3.4 but not jss 4.2.5)

2007-11-14 Thread Glen Beasley
> Conclusion is that nss & jss in mixed builds (win9x and winnt) can't work > together nicely. > > If you consider this a bug I am going to report it. > > Thanks for the detail analysis and your conclusion is correct, but the fact the win9x and winnt builds don't work together nicely is expec

Re: problem with jss sha1withrsa verify raising exceptions (works in jss 3.3, jss 3.4 but not jss 4.2.5)

2007-11-14 Thread Matej Spiller-Muys
I could reproduce the problem with the following configuration: - using nspr & nss from firefox 2.0.0.9 win32 (copied all nss & nspr files to C:\Program Files\Java\jre1.5.0_09\bin) - using nspr for nt ftp://ftp.mozilla.org/pub/mozilla.org/mozilla.org/nspr/releases/v4.6.4/msvc6.0/WINNT5.0_OPT.OBJ

Re: problem with jss sha1withrsa verify raising exceptions (works injss 3.3, jss 3.4 but not jss 4.2.5)

2007-11-14 Thread Matej Spiller-Muys
It seems when using my own build of jss (4.2.5 win9x) instead of official from ftp.mozilla.org (4.2.5 winnt) the issue disappears. Maybe it could be related to mixing firefox nss (win9x build) and jss (winnt build). Will get back to you on that. "Glen Beasley" <[EMAIL PROTECTED]> wrote in messa

Re: jss & firefox compatible build (win32)

2007-11-14 Thread Matej Spiller-Muys
You can close this bug. When I builded JSS for win9x (instead of downloading only for WinNT available version from ftp.mozilla.org) it started working. I didn't realize that there are two incompatible versions of nspr (win32) (one that firefox and/or nss is using and one JSS (offical build) is u

Re: Looking for SSL client-server source code.

2007-11-14 Thread D3||||!$
On Nov 13, 8:38 pm, David Stutzman wrote: > D3!$ wrote: > > No, I needed the source code, not the NSS functions: I have already > > checked all the links on Mozilla site. I'd be glad if somebody were > > willing to share their source code :-) > > Warm Regards, > > D3|\||\|!$ > > You will r

Re: Looking for SSL client-server source code.

2007-11-14 Thread D3||||!$
On Nov 13, 8:38 pm, David Stutzman wrote: > D3!$ wrote: > > No, I needed the source code, not the NSS functions: I have already > > checked all the links on Mozilla site. I'd be glad if somebody were > > willing to share their source code :-) > > Warm Regards, > > D3|\||\|!$ > > You will r