Hi
And if the Modulud and exponent are in a textfile, in format
<modulus><exponent> ?
 
Thanks


Marek Marcola <[EMAIL PROTECTED]> wrote:
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 [email protected]
Automated List Manager [EMAIL PROTECTED]


Stay in the know. Pulse on the new Yahoo.com. Check it out.

Reply via email to