Hello,
> I just want to find out if there is a function in openssl c++
> libraries that can be used to create a public key object from a
> modulus and public exponent. I looked but couldn't find one.
This depends of the modulus and exponent form.
If you have this numbers as binary stream of defined length then
this may convert this to BIGNUM structure and next to RSA.
If you have this numbers in some sort of ASN1 structure then
some converting function from DER to internal format may be
used as for example  d2i_PUBKEY_bio().

Best regards, 
-- 
Marek Marcola <[EMAIL PROTECTED]>

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to