For RSA, there is a similar function:
RSA *a RSA_generate_key(1024, 65537, NULL, NULL)
which returns a structure of BIGNUMS. What is eluding me is
which part(s) of the structure is the private key and which is the
public.

RSA public key consist of modulus (RSA::n member) and exponent (RSA::e memeber).
The private key consist of modulus (RSA::n member) and private exponent (RSA::d member).

Aleksey


_______________________________________________
xmlsec mailing list
[EMAIL PROTECTED]
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to