Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
class · Ruby 4.1
OpenSSL::PKey::PKeyError
Raised when errors occur during PKey#sign or PKey#verify.
Before version 4.0.0, OpenSSL::PKey::PKeyError had the following subclasses. These subclasses have been removed and the constants are now defined as aliases of OpenSSL::PKey::PKeyError.