if you have the "X509 *" object (in your code), then you can try X509_set_pubkey() (in x509.h) to obtain the "EVP_PKEY *" object, then you can use the various PEM_write_..._RSAPublicKey() (in pem.h).
_________________________________________________________________ Windows Liveā¢ HotmailĀ®: Chat. Store. Share. Do more with mail. http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t1_hm_justgotbetter_howitworks_012009______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org