aboutsummaryrefslogtreecommitdiffstats
path: root/docs/x509/reference.rst
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2015-10-12 20:51:34 -0700
committerBenjamin Peterson <benjamin@python.org>2015-10-12 20:51:34 -0700
commit9ed312baba7f4024d207a5fc56c3050b8d55b227 (patch)
tree9010b9f715d7f5c006679fcc942e618040433ed9 /docs/x509/reference.rst
parent87494d19398334c328f0a0c9bd750f66c14da8e1 (diff)
downloadcryptography-9ed312baba7f4024d207a5fc56c3050b8d55b227.tar.gz
cryptography-9ed312baba7f4024d207a5fc56c3050b8d55b227.tar.bz2
cryptography-9ed312baba7f4024d207a5fc56c3050b8d55b227.zip
use :returns: and put annotation in the correct place
Diffstat (limited to 'docs/x509/reference.rst')
-rw-r--r--docs/x509/reference.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/x509/reference.rst b/docs/x509/reference.rst
index c8c58efb..15078e9d 100644
--- a/docs/x509/reference.rst
+++ b/docs/x509/reference.rst
@@ -503,8 +503,6 @@ X.509 Certificate Builder
handled by whoever reads the certificate.
.. method:: sign(private_key, algorithm, backend)
-
- :type: :class:`~cryptography.x509.Certificate`
Sign the certificate using the CA's private key.
@@ -522,6 +520,8 @@ X.509 Certificate Builder
Must support the
:class:`~cryptography.hazmat.backends.interfaces.X509Backend`
interface.
+
+ :returns: :class:`~cryptography.x509.Certificate`
X.509 CSR (Certificate Signing Request) Object