Represents a RSA private or public key.
Instance methods
e
The RSA public or private exponent, a positive integer.
Sourcen
The RSA modulus, a positive integer.
Sourceto_a
Returns a two-element array containing the modulus and exponent.
Sourcevalid?
Returns true if this is a valid RSA key according to PKCS1.
Source