Arun, try this add-on : https://addons.mozilla.org/en-US/firefox/addon/4471 In addition to GUI, it will also let you generate PKCS#10 CSR using XPCOM if you so desire. -- Subrata Mazumdar
[EMAIL PROTECTED] wrote: > Hello people, > > I need to know how to generate key pair and correspondingly prepare a > CSR in PKCS#10 format using NSS. > > I want to develop the same as a component in firefox. > > the crypto objects inf firefox helps us to generate the CRMF > request......all that is fine.....but I need it in PKCS#10 format > ie.CSR > > I'm sure it is possible.........so where to start........... > > the key pair generation can be even in a token and I also need to > import the certificates which I'll get from a CA........ > > > I explored that the following functions, will do the > job............but how to use those in my C or C++ code...... > > SECKEY_CreateRSAPrivateKey > CERT_CreateCertificateRequest > > > regards, > Arun > _______________________________________________ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto