class OpenSSL::RSA

Defined in:

openssl_ext/rsa.cr

Class Method Summary

Instance Method Summary

Instance methods inherited from class OpenSSL::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

new(pkey : Pointer(LibCrypto::EvpPKey), is_private : Bool)
new(encoded : String, passphrase = nil, is_private = true)
new(io : IO, passphrase = nil, is_private = true)
new(size : Int32)
new(is_private)
new

Class Method Detail

def self.generate(size : Int32, exponent : UInt32) #

[View source]

Instance Method Detail

def blinding_off! #

[View source]
def blinding_on! #

[View source]
def blinding_on? : Bool #

[View source]
def private_decrypt(data, padding = LibCrypto::Padding::PKCS1_PADDING) #

[View source]
def private_encrypt(data, padding = LibCrypto::Padding::PKCS1_PADDING) #

[View source]
def public_decrypt(data, padding = LibCrypto::Padding::PKCS1_PADDING) #

[View source]
def public_encrypt(data, padding = LibCrypto::Padding::PKCS1_PADDING) #

[View source]
def public_key #

[View source]