Skip to content

End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

OpenSSL::Engine#load_public_key

engine.load_public_key(id = nil, data = nil) → OpenSSL::PKey

Loads the given public key identified by id and data.

An EngineError is raised of the OpenSSL::PKey is unavailable.

See also #load_private_key #name #inspect #set_default also in 4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.1