Hi,
In my project, the keys and certificates are not stored as a file, but are
present in a buffer. How can I instrcut OpenSSL to read from the buffer
rather than a file?
SSL_use_PrivateKey_file, SSL_CTX_use_certificate_file needs file name as
the input parameter. While functions like
Aravind GJ aravin...@gmail.com writes:
[...]
While functions like SSL_use_PrivateKey use EVP_PKEY structure, but to
get that structure, I need to use BIO APIs which again takes filename
as input.
See BIO_new_mem_buf(). (There are other ways to construct EVP_PKEYs
without reading from a