diff options
| author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-12-25 16:17:40 -0600 | 
|---|---|---|
| committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-12-25 20:19:17 -0600 | 
| commit | 49bb7565120b181752dc2574cd0e3660393c707c (patch) | |
| tree | 719427d25f47ae295dd44f6707d83cc8333b859d /docs | |
| parent | 4f76921ad87d71067158625aa0afedbba8ae1314 (diff) | |
| download | cryptography-49bb7565120b181752dc2574cd0e3660393c707c.tar.gz cryptography-49bb7565120b181752dc2574cd0e3660393c707c.tar.bz2 cryptography-49bb7565120b181752dc2574cd0e3660393c707c.zip  | |
start switching the CRL entry extensions to be full-fledged classes
first up: CertificateIssuer
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/x509/reference.rst | 34 | 
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  ~~~~~~~~~~~~~~~~~~  | 
