On 27 Mar 2012, at 3:01 AM, Frater wrote:
> Where is any working example to encrypt file or long string using RSA Public 
> or private key.
> in demos/maurice is example 1 but using certificate not privkey.

The code in demos/maurice reads a certificate and extracts an EVP_PKEY from it, 
which is used by the rest of the example. Presumably any other method of 
getting an EVP_PKEY would work equally well.

(This is more of an openssl-users question than an openssl-dev question, I 
think.)


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to