Hi Thanks for the responce.
MSKeyblob file (attached) is the exported public key written to file I will look into the RSA_PUBKEY functions too. Hylton // a while later Update - Using the Rsa = d2i_RSA_PUBKEY(...) Rsa is null and the following error message is given. 24803:error:0D0AA007:asn1 encoding routines:d2i_X509_PUBKEY:expecting an asn1 sequence:x_pubkey.c:85:address=3221213616 offset=0 It would appear the either d2i.... or exporting the keyblob is not the way to go. Anyone been there and "done that"? Hylton == Brought to you by Ananzi Mail [http://mail.ananzi.co.za] ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]