OpenSSL::PKey.read(string [, pwd ] ) â PKey
OpenSSL::PKey.read(file [, pwd ]) â PKey
OpenSSL::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 ofFile
containing a DER- or PEM-encoded
arbitrary private or public key.
-
pwd
is an optional password in casestring
orfile
is an encrypted
PEM resource.
Please login to continue.