Skip to content

Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →

class method

OpenSSL::PKey.new_raw_private_key

OpenSSL::PKey.new_raw_private_key(algo, string) → PKey

See the OpenSSL documentation for EVP_PKEY_new_raw_private_key()