Documentation for OpenSSL

I need to figue out how to calculate the modulus, exponent and base -
the parts that make up a key for encryption and I was just wondering if
someone knows where I can find good documention for OpenSSL::PKey::RSA.
I know about RDoc Documentation but there seems to be a lot
missing from this documention. For example, for RSA I know about has two
data members n, e for modulus and exponent but I need to find the base.
But n and e are not listed in the documention. In fact, I can’t even
find OpenSSL::PKey::RSA in the documention. Thanks for any help,

-S