Jim, Thanks! I looked through the BIO calls. But, I obviously missed that one.
Does anyone know of an alternative for populating EVP_PKEY * that emulates what load_key() does? TIA On 7/3/07, Jim Fox <[EMAIL PROTECTED]> wrote:
> > 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]
-- ============================================================================== John T. Cox e-mail [EMAIL PROTECTED] www http://members.iglou.com/vampire ============================================================================== ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]