aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/api_ref/python.rst12
1 files changed, 2 insertions, 10 deletions
diff --git a/doc/api_ref/python.rst b/doc/api_ref/python.rst
index a57f29e6d..e863b648b 100644
--- a/doc/api_ref/python.rst
+++ b/doc/api_ref/python.rst
@@ -387,11 +387,11 @@ Private Key
.. py:method:: to_pem()
- Return the PEM encoded private key (unencrypted)
+ Return the PEM encoded private key (unencrypted). Like ``self.export(True)``
.. py:method:: to_der()
- Return the PEM encoded private key (unencrypted)
+ Return the PEM encoded private key (unencrypted). Like ``self.export(False)``
.. py:method:: check_key(rng_obj, strong=True):
@@ -414,14 +414,6 @@ Private Key
provided passphrase. If ``pem`` is True, the result is a PEM
encoded string. Otherwise it is a binary DER value.
- .. py:method:: to_der()
-
- Like ``self.export(False)``
-
- .. py:method:: to_pem()
-
- Like ``self.export(True)``
-
.. py:method:: get_field(field_name)
Return an integer field related to the public key. The valid field names