class OpenSSL::PKey::RSA

Defined in:

openssl_ext/pkey/rsa.cr

Constructors

Class Method Summary

Instance Method Summary

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

Constructor Detail

def self.new(encoded : String, passphrase = nil) #

[View source]
def self.new(io : IO, passphrase = nil) #

[View source]
def self.new(size : Int32) #

[View source]

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]