I have n (the public modulus) and e (the public exponent). No nicely encoded data. Given those two values is there an API set to construct the RSA (public key) structure? I'm guessing I'd have to create a BIGNUM first then ..? Nothing obvious in rsa.h. Would it be reasonable to create a new RSA struct then set the pointers directly? thanks bruce ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]