class Crypto::RSA::PrivateKey
Defined in:
crypto/pubkey/rsa/key.crConstructors
Instance Method Summary
- #coef : BigInt
- #d : BigInt
- #exp1 : BigInt
- #exp2 : BigInt
- #p : BigInt
- #q : BigInt
-
#valid? : Bool
Returns
true
if this is a valid RSA key according toPKCS1
.
Instance methods inherited from class Crypto::RSA::PublicKey
e : BigInt
e,
n : BigInt
n,
valid? : Bool
valid?
Constructor methods inherited from class Crypto::RSA::PublicKey
new(n, e)
new
Class methods inherited from class Crypto::RSA::PublicKey
load_pkcs1(key : String | Bytes, format : Crypto::Encoding::CertEncoding = :pem)
load_pkcs1
Instance methods inherited from class Crypto::RSA::Key
e : BigInt
e,
n : BigInt
n,
to_a
to_a,
valid? : Bool
valid?
Constructor Detail
Instance Method Detail
def valid? : Bool
#
Description copied from class Crypto::RSA::Key
Returns true
if this is a valid RSA key according to PKCS1
.