summaryrefslogtreecommitdiff
path: root/doc/api/crypto.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/crypto.rst')
-rw-r--r--doc/api/crypto.rst9
1 files changed, 1 insertions, 8 deletions
diff --git a/doc/api/crypto.rst b/doc/api/crypto.rst
index 5f7df24..c6501b4 100644
--- a/doc/api/crypto.rst
+++ b/doc/api/crypto.rst
@@ -73,14 +73,7 @@ Certificate signing requests
Private keys
~~~~~~~~~~~~
-.. py:function:: dump_privatekey(type, pkey[, cipher, passphrase])
-
- Dump the private key *pkey* into a buffer string encoded with the type
- *type*, optionally (if *type* is :py:const:`FILETYPE_PEM`) encrypting it
- using *cipher* and *passphrase*.
-
- *passphrase* must be either a string or a callback for providing the
- pass phrase.
+.. autofunction:: dump_privatekey
.. py:function:: load_privatekey(type, buffer[, passphrase])