From 0372650e1063080072920e1bfd6728b3867ffc57 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Tue, 7 Apr 2020 22:19:23 -0400 Subject: Fix duplicated function definitions in Python doc --- doc/api_ref/python.rst | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'doc/api_ref') 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 -- cgit v1.2.3