OpenSSL::PKey.read(string [, pwd ] ) â PKey
OpenSSL::PKey.read(file [, pwd ]) â PKey
OpenSSL::PKey.read(file [, pwd ]) â PKey
Class Public methods
Parameters
-
stringis a DER- or PEM-encoded string containing an arbitrary private
or public key.
-
fileis an instance ofFilecontaining a DER- or PEM-encoded
arbitrary private or public key.
-
pwdis an optional password in casestringorfileis an encrypted
PEM resource.
Please login to continue.