aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-12-26 11:08:25 -0500
committerAlex Gaynor <alex.gaynor@gmail.com>2015-12-26 11:08:25 -0500
commit0860ef60adc7974dc26cfdd3c7adeb5e4e6e6448 (patch)
tree8c69e549f05a2512cb66776dfe57428ba105009c /docs
parent045fc7ea5e788eaeb2e444985d9dd94280dd6452 (diff)
parent49bb7565120b181752dc2574cd0e3660393c707c (diff)
downloadcryptography-0860ef60adc7974dc26cfdd3c7adeb5e4e6e6448.tar.gz
cryptography-0860ef60adc7974dc26cfdd3c7adeb5e4e6e6448.tar.bz2
cryptography-0860ef60adc7974dc26cfdd3c7adeb5e4e6e6448.zip
Merge pull request #2575 from reaperhulk/crlentry-extensions-classes
start switching the CRL entry extensions to be full-fledged classes
Diffstat (limited to 'docs')
-rw-r--r--docs/x509/reference.rst34
1 files changed, 34 insertions, 0 deletions
diff --git a/docs/x509/reference.rst b/docs/x509/reference.rst
index ea22ab0b..1f25ac14 100644
--- a/docs/x509/reference.rst
+++ b/docs/x509/reference.rst
@@ -1956,6 +1956,40 @@ These classes may be present within a :class:`CertificatePolicies` instance.
A list of integers.
+CRL Entry Extensions
+~~~~~~~~~~~~~~~~~~~~
+
+These extensions are only valid within a :class:`RevokedCertificate` object.
+
+.. class:: CertificateIssuer(general_names)
+
+ .. versionadded:: 1.2
+
+ The certificate issuer is an extension that is only valid inside
+ :class:`~cryptography.x509.RevokedCertificate` objects. If the
+ ``indirectCRL`` property of the parent CRL's IssuingDistributionPoint
+ extension is set, then this extension identifies the certificate issuer
+ associated with the revoked certificate. The object is iterable to get
+ every element.
+
+ :param list general_names: A list of :class:`GeneralName` instances.
+
+ .. attribute:: oid
+
+ :type: :class:`ObjectIdentifier`
+
+ Returns
+ :attr:`~cryptography.x509.oid.CRLEntryExtensionOID.CERTIFICATE_ISSUER`.
+
+ .. method:: get_values_for_type(type)
+
+ :param type: A :class:`GeneralName` instance. This is one of the
+ :ref:`general name classes <general_name_classes>`.
+
+ :returns: A list of values extracted from the matched general names.
+ The type of the returned values depends on the :class:`GeneralName`.
+
+
Object Identifiers
~~~~~~~~~~~~~~~~~~