[xmlsec] Generating RSA keys - public and private
Aleksey Sanin
aleksey at aleksey.com
Wed Dec 11 11:37:14 PST 2002
>
>
>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
More information about the xmlsec
mailing list