support delta crl indicator extension (#3936)
This is an extension for CRLs
diff --git a/docs/x509/reference.rst b/docs/x509/reference.rst
index 71ac9d9..dea7ee3 100644
--- a/docs/x509/reference.rst
+++ b/docs/x509/reference.rst
@@ -1954,6 +1954,30 @@
:attr:`~cryptography.x509.oid.ExtensionOID.PRECERT_SIGNED_CERTIFICATE_TIMESTAMPS`.
+.. class:: DeltaCRLIndicator(crl_number)
+
+ .. versionadded:: 2.1
+
+ The delta CRL indicator is a CRL extension that identifies a CRL as being
+ a delta CRL. Delta CRLs contain updates to revocation information
+ previously distributed, rather than all the information that would appear
+ in a complete CRL.
+
+ :param int crl_number: The CRL number of the complete CRL that the
+ delta CRL is updating.
+
+ .. attribute:: oid
+
+ :type: :class:`ObjectIdentifier`
+
+ Returns
+ :attr:`~cryptography.x509.oid.ExtensionOID.DELTA_CRL_INDICATOR`.
+
+ .. attribute:: crl_number
+
+ :type: int
+
+
.. class:: AuthorityInformationAccess(descriptions)
.. versionadded:: 0.9
@@ -2749,6 +2773,14 @@
the ``CRLNumber`` extension type. This extension only has meaning
for certificate revocation lists.
+ .. attribute:: DELTA_CRL_INDICATOR
+
+ .. versionadded:: 2.1
+
+ Corresponds to the dotted string ``"2.5.29.27"``. The identifier for
+ the ``DeltaCRLIndicator`` extension type. This extension only has
+ meaning for certificate revocation lists.
+
.. attribute:: PRECERT_SIGNED_CERTIFICATE_TIMESTAMPS
.. versionadded:: 1.9