diff options
author | Laurens Van Houtven <_@lvh.cc> | 2014-06-19 17:36:28 +0200 |
---|---|---|
committer | Laurens Van Houtven <_@lvh.cc> | 2014-06-19 17:36:28 +0200 |
commit | cb32e855390476f04a1abe8eff793ad5ec15de6d (patch) | |
tree | 68536386a8c861df02cad5cc6d40e67707a8d5a1 /doc/api | |
parent | d92f55c93beefa489a07b8b1db35be27210edc2a (diff) | |
download | pyopenssl-cb32e855390476f04a1abe8eff793ad5ec15de6d.tar.gz |
Use autodoc for CRL
Closes #125.
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/crypto.rst | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/doc/api/crypto.rst b/doc/api/crypto.rst index 8033805..237c7ae 100644 --- a/doc/api/crypto.rst +++ b/doc/api/crypto.rst @@ -6,10 +6,6 @@ .. py:module:: OpenSSL.crypto :synopsis: Generic cryptographic module -.. py:class:: CRL() - - A class representing Certifcate Revocation List objects. - .. py:data:: TYPE_RSA TYPE_DSA @@ -254,22 +250,10 @@ NetscapeSPKI objects CRL objects ----------- -CRL objects have the following methods: - -.. py:method:: CRL.add_revoked(revoked) - - Add a Revoked object to the CRL, by value not reference. - - -.. py:method:: CRL.export(cert, key[, type=FILETYPE_PEM][, days=100]) - - Use *cert* and *key* to sign the CRL and return the CRL as a string. - *days* is the number of days before the next CRL is due. - - -.. py:method:: CRL.get_revoked() - - Return a tuple of Revoked objects, by value not reference. +.. autoclass:: CRL + :members: + :special-members: + :exclude-members: __weakref__ .. _revoked: |