abstract class OpenSSL::PKey::PKey

Direct Known Subclasses

Defined in:

openssl_ext/pkey/pkey.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pkey : Pointer(LibCrypto::EvpPKey), is_private : Bool) #

[View source]
def self.new(is_private : Bool) #

[View source]
def self.new(encoded : String, passphrase = nil, is_private = true) #

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

[View source]

Instance Method Detail

def finalize #

[View source]
def private? : Bool #

[View source]
def public? #

[View source]
def sign(digest, data) #

[View source]
def to_der(io) #

[View source]
def to_der #

[View source]
def to_pem(io : IO, cipher : OpenSSL::Cipher | Nil = nil, passphrase = nil) #

[View source]
def to_pem(cipher : OpenSSL::Cipher, passphrase) #

[View source]
def to_pem #

[View source]
def to_unsafe : Pointer(LibCrypto::EvpPKey) #

[View source]
def verify(digest, signature, data) #

[View source]