class OpenSSL::PKey

Direct Known Subclasses

Defined in:

cherry/openssl/pkey/pkey.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(pkey : LibCrypto::EVP_PKEY, keyType : OpenSSL::PKey::KeyType = KeyType::PublicKey) #

[View source]
def self.new(keyType : OpenSSL::PKey::KeyType = KeyType::All) #

[View source]

Class Method Detail

def self.parse_private_key(private_key : String, password = nil) #

[View source]
def self.parse_public_key(public_key : String, password = nil) #

[View source]

Instance Method Detail

def finalize #

[View source]
def keyType : KeyType #

[View source]
def modulus_size #

[View source]
def pkey : LibCrypto::EVP_PKEY #

[View source]
def pkey=(pkey : LibCrypto::EVP_PKEY) #

[View source]
def private_key? #

[View source]
def public_key? #

[View source]
def to_dsa #

[View source]
def to_rsa #

[View source]
def to_unsafe : LibCrypto::EVP_PKEY #

[View source]