Re: help starting with nss

2011-07-13 Thread Brian Smith
florent ainardi wrote: > does anyone can help me starting coding in c the nss library ? > i had to encrypt and decrypt data > can you tell me the list of function i had to call to do that > and tell me the order i suppose that there is a initialization of > context, generate key, set mode, set algo

Re: Problem with building NSS

2011-07-13 Thread Brian Smith
radek102 radel wrote: > When I try building NSS 3.12.9 on Windows 7, I have some strange > error: > make: *** No rule to make target `../../nsprpub/configure`, needed by > `../../nsprpub/WINNT6.1_OPT.OBJ/config.status`. Stop > > I'm using mozilla_build. When I compile nss 3.12.9 with nspr 4.8.7 >

Re: compiling nss-3.12.10 with linux-3.0 fails

2011-07-13 Thread Brian Smith
ron wrote: > i just tried compiling nss while running a linux-3.0rc5 kernel, which > fails with: > > for there are no major changes between linux-2.6.39 and linux-3.0 > copying Linux2.6.mk to Linux3.0.mk did the trick, now everything > compiles fine again. > > hope this is the right plcae to post

Re: Unable to generate ECC signature keys with crypto.generateCRMFRequest

2011-07-13 Thread Brian Smith
Fei Fong wrote: > I am able to generate ECC encryption keys using: reqtype = 'ec-ex' > However, it fails when I try to generate ECC signature keys using > reqtype = 'ec-sign' > > I tried the other options for ECC given in > https://developer.mozilla.org/en/generateCRMFRequest > as well but have on

compiling nss-3.12.10 with linux-3.0 fails

2011-07-13 Thread ron
hi! i just tried compiling nss while running a linux-3.0rc5 kernel, which fails with: --- ../coreconf/config.mk:71: ../coreconf/Linux3.0.mk: No such file or directory make: *** No rule to make target ../coreconf/Linux3.0.mk. Stop. --- for there are no major changes between linux-2.6.39 and l

Unable to generate ECC signature keys with crypto.generateCRMFRequest

2011-07-13 Thread Fei Fong
I am using the following function to test generating key pairs in Firefox 5.0: crmf_result = crypto.generateCRMFRequest( "CN=X", "bla1", "bla2", null, "gen_ready();", 256, "curve=nistp256", reqtype); } I am able to generate ECC encryption keys using: reqtype = 'ec-ex' However, it fail