class OpenSSL::PKey::RSA
- OpenSSL::PKey::RSA
- OpenSSL::PKey::PKey
- Reference
- Object
Defined in:
openssl_ext/pkey/rsa.crConstructors
Class Method Summary
Instance Method Summary
- #blinding_off!
- #blinding_on!
- #blinding_on? : Bool
- #private_decrypt(data, padding = LibCrypto::Padding::PKCS1_PADDING)
- #private_encrypt(data, padding = LibCrypto::Padding::PKCS1_PADDING)
- #public_decrypt(data, padding = LibCrypto::Padding::PKCS1_PADDING)
- #public_encrypt(data, padding = LibCrypto::Padding::PKCS1_PADDING)
- #public_key
Instance methods inherited from class OpenSSL::PKey::PKey
finalize
finalize,
private? : Bool
private?,
public?
public?,
sign(digest, data)
sign,
to_der(io)to_der to_der, to_pem(io : IO, cipher : OpenSSL::Cipher | Nil = nil, passphrase = nil)
to_pem(cipher : OpenSSL::Cipher, passphrase)
to_pem to_pem, to_unsafe : Pointer(LibCrypto::EvpPKey) to_unsafe, verify(digest, signature, data) verify
Constructor methods inherited from class OpenSSL::PKey::PKey
new(pkey : Pointer(LibCrypto::EvpPKey), is_private : Bool)new(is_private : Bool)
new(encoded : String, passphrase = nil, is_private = true)
new(io : IO, passphrase = nil, is_private = true) new