OpenSSL::PKey.read(string [, pwd ] ) â PKeyOpenSSL::PKey.read(file [, pwd ]) â PKey
Class Public methods
Parameters
string is a DER- or PEM-encoded string containing an arbitrary
private
or public key.
file is an instance of File containing a DER- or
PEM-encoded
arbitrary private or public key.
pwd is an optional password in case string or
file is an encrypted
PEM resource.