-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

vichy wrote:
| Dear all:
| I try to use d2i_PrivateKey_bio to get the RSA keys in a der file, but
| the binary content is written in an unsigned char array.
| I know I can write the unsigned char array as a file and then read it in.
| But I want to know is there function I can use to transfer array as
Bio file?
| appreciate your help,

d2i_PrivateKey()
If you insist on using BIO, use BIO_new_mem_buf()


Goetz
- --
DMCA: The greed of the few outweighs the freedom of the many
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKfpMt2iGqZUF3qPYRAiWlAJ9bPEByJOieUcefGNUtwT9HGOe38ACeI6KP
bvX7qAW+quOdXMMHKWxFacQ=
=qg43
-----END PGP SIGNATURE-----
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to