aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-03-22 13:19:31 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-03-22 13:19:31 -0500
commit8589466c0a12835cda03bf91043cf51b657d9e46 (patch)
treee85adc517329f5ea0dfb0330cf840973310d9fc8 /docs
parentfd1444cfa97bb897eaee6ceca35175357317623b (diff)
downloadcryptography-8589466c0a12835cda03bf91043cf51b657d9e46.tar.gz
cryptography-8589466c0a12835cda03bf91043cf51b657d9e46.tar.bz2
cryptography-8589466c0a12835cda03bf91043cf51b657d9e46.zip
rework BasicConstraints and Extension.
Diffstat (limited to 'docs')
-rw-r--r--docs/x509.rst15
1 files changed, 12 insertions, 3 deletions
diff --git a/docs/x509.rst b/docs/x509.rst
index 80242581..7eb47a31 100644
--- a/docs/x509.rst
+++ b/docs/x509.rst
@@ -280,7 +280,11 @@ X.509 Extensions
.. versionadded:: 0.9
- All X.509 extensions are registered against this interface.
+ .. attribute:: oid
+
+ :type: :class:`ObjectIdentifier`
+
+ The attribute OID.
.. attribute:: critical
@@ -288,13 +292,18 @@ X.509 Extensions
Determines whether a given extension is critical or not.
+ .. attribute:: value
+
+ Returns an instance of the extension type corresponding to the OID.
+
.. class:: BasicConstraints
.. versionadded:: 0.9
- Basic constraints is an X.509 extension that defines whether a given
+ Basic constraints is an X.509 extension type that defines whether a given
certificate is allowed to sign additional certificates and what path
- length restrictions may exist.
+ length restrictions may exist. It corresponds to
+ :data:`OID_BASIC_CONSTRAINTS`.
.. attribute:: ca