On 07/31/2013 09:47 AM, Rajesh Kareti wrote: > Hi, > > I need some help in setting up the NSS Cryptographic module for doing > Encryption and Decryption. Could any one help me in doing that. > > Thanks you, > Raj
Raj, please do not hijack threads, your question has nothing to do with importing a symmetric key. "Using NSS to perform miscellaneous cryptographic operations" https://developer.mozilla.org/en-US/docs/NSS/NSS_Tech_Notes/nss_tech_note5 and "NSS Sample Code" https://developer.mozilla.org/en-US/docs/NSS/NSS_Sample_Code Were you unable to find these? > > > On Tue, Jul 30, 2013 at 9:37 PM, John <jbu...@yahoo.com> wrote: > >>> At this point I usually ask, what is it you are trying to do? usually >>> when I see someone trying to import or export keyblobs, they are coding >>> at the wrong level and we should be pushing more of whatever protocol >>> you are running into NSS. >> >> I'm developing a One Time Password software token and wanting to store the >> shared secret in the NSS database. At this point I'm inclined to think >> importing the shared secret using PK11_CreateGenericObject() is probably >> more appropriate, i.e. if I can get it to work. >> >> Can you recommend a better approach? >> >> >> >> -- >> View this message in context: >> http://mozilla.6506.n7.nabble.com/Importing-a-symmetic-key-into-NSS-database-tp286642p286750.html >> Sent from the Mozilla - Cryptography mailing list archive at Nabble.com. >> -- >> dev-tech-crypto mailing list >> dev-tech-crypto@lists.mozilla.org >> https://lists.mozilla.org/listinfo/dev-tech-crypto >> > > > -- John -- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto