aboutsummaryrefslogtreecommitdiffstats
path: root/ext/openssl/ossl_asn1.c
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2023-06-28 12:09:27 +0900
committerKazuki Yamaguchi <k@rhe.jp>2023-08-16 14:48:40 +0900
commit0eaee5c000bf2fc6e1866881a6f9a4d7820c16d4 (patch)
treebaaa994c69492946abd6e7a3d0613918af57c1a1 /ext/openssl/ossl_asn1.c
parentfae6fd07fe49d3149c922e15c5a75cd32631e858 (diff)
downloadruby-0eaee5c000bf2fc6e1866881a6f9a4d7820c16d4.tar.gz
[ruby/openssl] [DOC] enhance RDoc for exporting pkeys
Describe the behavior of OpenSSL::PKey::{DH,DSA,EC,RSA}#to_pem and #to_der more clearly. They return a different result depending on whether the pkey is a public or private key. This was not documented adequately. Also, suggest the use of OpenSSL::PKey::PKey#private_to_pem and #public_to_pem instead, if possible. https://github.com/ruby/openssl/commit/d22769af8f
Diffstat (limited to 'ext/openssl/ossl_asn1.c')
0 files changed, 0 insertions, 0 deletions