aboutsummaryrefslogtreecommitdiffstats
path: root/docs/x509
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-12-25 23:55:47 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-12-27 08:36:38 -0600
commite5f152b0a93b105cc32fe5adf06899f4f5cd0936 (patch)
tree1332ab20e70a057dc5fd5a69ab5144ed5fc76286 /docs/x509
parent28077b621390965fbe1bca3409691974c894251d (diff)
downloadcryptography-e5f152b0a93b105cc32fe5adf06899f4f5cd0936.tar.gz
cryptography-e5f152b0a93b105cc32fe5adf06899f4f5cd0936.tar.bz2
cryptography-e5f152b0a93b105cc32fe5adf06899f4f5cd0936.zip
support CRL entry extension encoding in the RevokedCertificateBuilder
Diffstat (limited to 'docs/x509')
-rw-r--r--docs/x509/reference.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/x509/reference.rst b/docs/x509/reference.rst
index 72fd44be..bbea490e 100644
--- a/docs/x509/reference.rst
+++ b/docs/x509/reference.rst
@@ -947,6 +947,16 @@ X.509 Revoked Certificate Builder
:param time: The :class:`datetime.datetime` object (in UTC) that marks the
revocation time for the certificate.
+ .. method:: add_extension(extension, critical)
+
+ Adds an X.509 extension to this revoked certificate.
+
+ :param extension: An instance of one of the
+ :ref:`CRL entry extensions <crl_entry_extensions>`.
+
+ :param critical: Set to ``True`` if the extension must be understood and
+ handled.
+
.. method:: build(backend)
Create a revoked certificate object using the provided backend.
@@ -1956,6 +1966,8 @@ These classes may be present within a :class:`CertificatePolicies` instance.
A list of integers.
+.. _crl_entry_extensions:
+
CRL Entry Extensions
~~~~~~~~~~~~~~~~~~~~