[EMAIL PROTECTED] wrote on 02/11/2008 10:22:00 AM:

> I'm not that good in OpenSSL. How do I create a RSA file if I only
> have a modulus and exponent. Programmatically I have set the 2
> values with BN_bin2bn(), but how do I save this to a file?

I use PEM_write_RSAPublicKey()

It's interesting that the working case has the ciphertext the same size as
the modulus, while the failing case seems to be missing a byte.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to