RE: Beginner with NSS

2008-09-15 Thread Francisco Puentes
x27;s crypto code discussion list Asunto: Re: Beginner with NSS Francisco Puentes wrote: > Being a beginner with NSS, I need help :-( > > I am trying to generate a RSA pair of keys with this code: > > NSS_Init("./rsa.db"); > NSS_Init requires a pointer to a dire

Re: Beginner with NSS

2008-09-15 Thread Robert Relyea
Francisco Puentes wrote: Being a beginner with NSS, I need help :-( I am trying to generate a RSA pair of keys with this code: NSS_Init("./rsa.db"); NSS_Init requires a pointer to a directory (which should already exist). You should check the error code coming back for NSS_

Beginner with NSS

2008-09-13 Thread Francisco Puentes
Being a beginner with NSS, I need help :-( I am trying to generate a RSA pair of keys with this code: NSS_Init("./rsa.db"); SECKEYPublicKey*rsaPbKey=NULL; SECKEYPrivateKey*rsaPrKey=SECKEY_CreateRSAPrivateKey(1024,&rsaPbKey,NULL); ... NSS_Shutdown(); But all see