How to convert M2Crypto.RSA.RSA to string

Heikki Toivonen hjtoi-better-remove-when_replying at comcast.net
Tue Sep 16 02:49:05 EDT 2008


> On Mon, Sep 15, 2008 at 8:23 AM, Usman Ajmal <uzmanajmal at gmail.com> wrote:
>> I have a M2Crypto.RSA.RSA instance that contain my public-key. I want that
>> key as string. Is there any way to convert the said instance into string?

Take a look at as_pem() method.

-- 
   Heikki Toivonen



More information about the Python-list mailing list