On Thu January 12 2012, Dave Thompson wrote:
> > From: owner-openssl-us...@openssl.org On Behalf Of Wojciech Kocjan
> > Sent: Wednesday, 11 January, 2012 14:47
>
> > I am working on reworking existing code that uses several OpenSSL APIs
> > from using files to store keys, certificates and CAs to p
> From: owner-openssl-us...@openssl.org On Behalf Of Wojciech Kocjan
> Sent: Wednesday, 11 January, 2012 14:47
> I am working on reworking existing code that uses several OpenSSL APIs
> from using files to store keys, certificates and CAs to passing this
> directly from memory (so that it can be r
In similar way, you could generate your own BIO by BIO_new_mem_buf((void*)
cacert, len).
Then call PEM_X509_INFO_read_bio,
then e.g. for x509, use X509_STORE_add_cert for each one in
sk_x509_INFO_num().
Hope this helps
Huaqing
On Wed, Jan 11, 2012 at 2:47 PM, Wojciech Kocjan wrote:
> Hello,
>
>
Hello,
I am working on reworking existing code that uses several OpenSSL APIs
from using files to store keys, certificates and CAs to passing this
directly from memory (so that it can be retrieved from memory, read
from encrypted storage among other things).
This is my first post here, so if this