From 3b95cd7f563809c136205c0642b4d54395e6b2eb Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Tue, 22 Dec 2015 21:40:20 -0600 Subject: CRLNumber needs to be a class for reasons. --- docs/x509/reference.rst | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'docs') 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 -- cgit v1.2.3 From e32b994e73449f2c709298378de89467b30dbf21 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Tue, 22 Dec 2015 22:26:53 -0600 Subject: update the language --- docs/x509/reference.rst | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'docs') diff --git a/docs/x509/reference.rst b/docs/x509/reference.rst index f53eae0a..4f4ce4fa 100644 --- a/docs/x509/reference.rst +++ b/docs/x509/reference.rst @@ -1699,11 +1699,10 @@ X.509 Extensions .. 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. + The CRL number is a 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 -- cgit v1.2.3