aboutsummaryrefslogtreecommitdiffstats
path: root/docs/x509/reference.rst
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-12-22 21:40:20 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-12-22 21:40:20 -0600
commit3b95cd7f563809c136205c0642b4d54395e6b2eb (patch)
tree34ff578474ce4d1c665242a7b0dda0ff49f03044 /docs/x509/reference.rst
parent53f45f92d8594ce97f6af99edba1ddca0c4fd838 (diff)
downloadcryptography-3b95cd7f563809c136205c0642b4d54395e6b2eb.tar.gz
cryptography-3b95cd7f563809c136205c0642b4d54395e6b2eb.tar.bz2
cryptography-3b95cd7f563809c136205c0642b4d54395e6b2eb.zip
CRLNumber needs to be a class for reasons.
Diffstat (limited to 'docs/x509/reference.rst')
-rw-r--r--docs/x509/reference.rst21
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/x509/reference.rst b/docs/x509/reference.rst
index dace8c1b..f53eae0a 100644
--- a/docs/x509/reference.rst
+++ b/docs/x509/reference.rst
@@ -1695,6 +1695,27 @@ X.509 Extensions
:type: int
+.. class:: CRLNumber(crl_number)
+
+ .. versionadded:: 1.2
+
+ The CRL number is a non-critical CRL extension that conveys a
+ monotonically increasing sequence number for a given CRL scope and
+ CRL issuer. This extension allows users to easily determine when a
+ particular CRL supersedes another CRL. :rfc:`5280` requires that this
+ extension be present in conforming CRLs.
+
+ .. attribute:: oid
+
+ :type: :class:`ObjectIdentifier`
+
+ Returns
+ :attr:`~cryptography.x509.oid.ExtensionOID.CRL_NUMBER`.
+
+ .. attribute:: crl_number
+
+ :type: int
+
.. class:: CertificatePolicies(policies)
.. versionadded:: 0.9