aboutsummaryrefslogtreecommitdiffstats
path: root/doc/api_ref/python.rst
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2020-04-07 22:19:23 -0400
committerJack Lloyd <[email protected]>2020-04-07 22:19:23 -0400
commit0372650e1063080072920e1bfd6728b3867ffc57 (patch)
tree9a0080a10982f42d00ab5f02449c0215041b8013 /doc/api_ref/python.rst
parentb7ea16b97c486f9fa2e817fbbdcd24b13db6f5c8 (diff)
Fix duplicated function definitions in Python doc
Diffstat (limited to 'doc/api_ref/python.rst')
-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