aboutsummaryrefslogtreecommitdiffstats
path: root/docs/x509/reference.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/x509/reference.rst')
-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
~~~~~~~~~~~~~~~~~~~~