Hi All I have some question about key pairs. I generate a private key as PEM format and set password on it when I convert it to DER format it is password free.
1-Does DER format is password free? To load a private key from buffer I load the key file content (DER format) to a buffer and then call d2i_RSAPrivateKey to load it.It successfully load rsa = d2i_RSAPrivateKey(NULL,&bufKey,bufLen);. But when I want to load a public key from buffer it return NULL.The public key has DER format. d2i_RSAPublicKey to load it.It successfully load rsa = d2i_RSAPublicKey(NULL,&bufKey,bufLen); 2-Does my procedures is ok? Bye. Thanks. __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]