class

OpenSSL::PKey

Inherits Reference / Object

Constructors

new(pkey : LibCrypto::EVP_PKEY, keyType : OpenSSL::PKey::KeyType = KeyType::PublicKey)
Source
new(keyType : OpenSSL::PKey::KeyType = KeyType::All)
Source

Class methods

parse_private_key(private_key : String, password = nil)
Source
parse_public_key(public_key : String, password = nil)
Source

Instance methods

finalize
Source
keyType
Source
modulus_size
Source
pkey
Source
pkey=(pkey : LibCrypto::EVP_PKEY)
Source
private_key?
Source
public_key?
Source
to_dsa
Source
to_rsa
Source
to_unsafe
Source

Nested types