read

OpenSSL::PKey.read(string [, 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 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.

doc_ruby_on_rails
2015-04-25 23:49:42
Comments
Leave a Comment

Please login to continue.