So my questions are, how do I replicate what load_key() to populate pkey (EVP_PKEY *)? And, are they any data functions that can be used to replace what the BIO functions do for files?
The BIO routines work with strings as well as with files. BIO *rbio; rbio = BIO_new_mem_buf(str, strlen(str)); if (rbio==NULL) { ERR_print_errors_fp(stderr); return (NULL); } Reads from 'rbio' will get data from the string 'str'. Jim ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]