support CRL entry extension encoding in the RevokedCertificateBuilder
diff --git a/docs/x509/reference.rst b/docs/x509/reference.rst
index 72fd44b..bbea490 100644
--- a/docs/x509/reference.rst
+++ b/docs/x509/reference.rst
@@ -947,6 +947,16 @@
: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 @@
A list of integers.
+.. _crl_entry_extensions:
+
CRL Entry Extensions
~~~~~~~~~~~~~~~~~~~~