aboutsummaryrefslogtreecommitdiffstats
path: root/docs/x509.rst
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-05-02 21:57:56 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-05-02 22:15:10 -0500
commit3e6d558d1b845cf2df31efec08235b15998174d4 (patch)
treeed7ae98d910e7d80cd2ebdebf6a04b7829806b2f /docs/x509.rst
parent04ee495f2b8c9d0d4f9d0a5462901feeeb7eba0c (diff)
downloadcryptography-3e6d558d1b845cf2df31efec08235b15998174d4.tar.gz
cryptography-3e6d558d1b845cf2df31efec08235b15998174d4.tar.bz2
cryptography-3e6d558d1b845cf2df31efec08235b15998174d4.zip
add authority information access classes
Diffstat (limited to 'docs/x509.rst')
-rw-r--r--docs/x509.rst36
1 files changed, 36 insertions, 0 deletions
diff --git a/docs/x509.rst b/docs/x509.rst
index 5f36a921..f66178ab 100644
--- a/docs/x509.rst
+++ b/docs/x509.rst
@@ -719,6 +719,29 @@ X.509 Extensions
:returns: A list of values extracted from the matched general names.
+.. class:: AuthorityInformationAccess
+
+ .. versionadded:: 0.9
+
+ The authority information access extension indicates how to access
+ information and services for the issuer of the certificate in which
+ the extension appears. Information and services may include online
+ validation services (such as OCSP) and issuer data. It is an iterable,
+ containing one or more :class:`AccessDescription` instances.
+
+
+.. class:: AccessDescription
+
+ .. attribute:: access_method
+
+ :type: :class:`ObjectIdentifier`
+
+ Either :data:`OID_OCSP` or :data:`OID_CA_ISSUERS`
+
+ .. attribute:: access_location
+
+ :type: :class:`GeneralName`
+
Object Identifiers
~~~~~~~~~~~~~~~~~~
@@ -911,6 +934,19 @@ Extended Key Usage OIDs
Corresponds to the dotted string ``"1.3.6.1.5.5.7.3.9"``. This is used to
denote that a certificate may be used for signing OCSP responses.
+Authority Information Access OIDs
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+.. data:: OID_OCSP
+
+ Corresponds to the dotted string ``"1.3.6.1.5.5.7.48.1"``. Used as the
+ identifier for OCSP data in :class:`AccessDescription` objects.
+
+.. data:: OID_CA_ISSUERS
+
+ Corresponds to the dotted string ``"1.3.6.1.5.5.7.48.2"``. Used as the
+ identifier for CA issuer data in :class:`AccessDescription` objects.
+
.. _extension_oids:
Extension OIDs