abstract class Crypto::RSA::Key
- Crypto::RSA::Key
- Reference
- Object
Overview
Represents a RSA private or public key.
Direct Known Subclasses
Defined in:
crypto/pubkey/rsa/key.crInstance Method Summary
-
#e : BigInt
The RSA public or private exponent, a positive integer.
-
#n : BigInt
The RSA modulus, a positive integer.
-
#to_a
Returns a two-element array containing the modulus and exponent.
-
#valid? : Bool
Returns
true
if this is a valid RSA key according toPKCS1
.