* ext/openssl/*: Document synonymous methods, by windwiny [GH-277]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
zzak 2013-04-16 02:24:09 +00:00
parent 582ba0a57c
commit a152c41e53
9 changed files with 20 additions and 9 deletions

View file

@ -291,8 +291,9 @@ ossl_rsa_is_private(VALUE self)
/*
* call-seq:
* rsa.to_pem => PEM-format String
* rsa.to_pem(cipher, pass_phrase) => PEM-format String
* rsa.export([cipher, pass_phrase]) => PEM-format String
* rsa.to_pem([cipher, pass_phrase]) => PEM-format String
* rsa.to_s([cipher, pass_phrase]) => PEM-format String
*
* Outputs this keypair in PEM encoding. If +cipher+ and +pass_phrase+ are
* given they will be used to encrypt the key. +cipher+ must be an