summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLaurens Van Houtven <_@lvh.cc>2014-06-18 14:29:47 +0200
committerLaurens Van Houtven <_@lvh.cc>2014-06-18 14:29:47 +0200
commit3e83d24aed04ef0a8c0e8d89f3a48a5cd568b0b2 (patch)
tree9525e05099eaa23b4e90f4479fe14b2a8970dee4 /doc
parent2650de5db6d2a10d2fb81037f91ea9bdeffa765b (diff)
downloadpyopenssl-3e83d24aed04ef0a8c0e8d89f3a48a5cd568b0b2.tar.gz
Use autodoc for X509Req
Diffstat (limited to 'doc')
-rw-r--r--doc/api/crypto.rst54
1 files changed, 4 insertions, 50 deletions
diff --git a/doc/api/crypto.rst b/doc/api/crypto.rst
index ab2b90a..194857a 100644
--- a/doc/api/crypto.rst
+++ b/doc/api/crypto.rst
@@ -6,15 +6,10 @@
.. py:module:: OpenSSL.crypto
:synopsis: Generic cryptographic module
-
.. py:class:: X509()
A class representing X.509 certificates.
-.. py:class:: X509Req()
-
- A class representing X.509 certificate requests.
-
.. py:class:: NetscapeSPKI([enc])
A class representing Netscape SPKI objects.
@@ -343,51 +338,10 @@ X509Name objects
X509Req objects
---------------
-X509Req objects have the following methods:
-
-.. py:method:: X509Req.get_pubkey()
-
- Return a :py:class:`PKey` object representing the public key of the certificate request.
-
-
-.. py:method:: X509Req.get_subject()
-
- Return an :py:class:`X509Name` object representing the subject of the certificate.
-
-
-.. py:method:: X509Req.set_pubkey(pkey)
-
- Set the public key of the certificate request to *pkey*.
-
-
-.. py:method:: X509Req.sign(pkey, digest)
-
- Sign the certificate request, using the key *pkey* and the message digest
- algorithm identified by the string *digest*.
-
-
-.. py:method:: X509Req.verify(pkey)
-
- Verify a certificate request using the public key *pkey*.
-
-
-.. py:method:: X509Req.set_version(version)
-
- Set the version (RFC 2459, 4.1.2.1) of the certificate request to
- *version*.
-
-
-.. py:method:: X509Req.get_version()
-
- Get the version (RFC 2459, 4.1.2.1) of the certificate request.
-
-
-.. py:method:: X509Req.get_extensions()
-
- Get extensions to the request.
-
- .. versionadded:: 0.15
-
+.. autoclass:: X509Req
+ :members:
+ :special-members:
+ :exclude-members: __weakref__
.. _openssl-x509store: