>       From: owner-openssl-us...@openssl.org On Behalf Of krishnamurthy
santhanam
>       Sent: Monday, 06 September, 2010 12:40

>       I need to write [RSA] public and private key into text file 
> ...is it possible using BN?
        
Yes, but for supported formats you don't need to;
see reply to your next message.

If you need to write some other format, it's possible 
but more complicated. As an example, 2009-06-20 for 
someone needing openssh key format, Mounir Idrassi posted

> I have already posted to this list a C code of a program that converts 
> from an OpenSSL public key to an OpenSSH public key.
> You can grab the code from the following link and compile it yourself :

> http://www.idrix.fr/Root/Samples/pubkey2ssh.c

openssh-public is a mostly-base64 text format.
(openssh-private is the openssl PEM format exactly.)



______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to