From 8589466c0a12835cda03bf91043cf51b657d9e46 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Sun, 22 Mar 2015 13:19:31 -0500 Subject: rework BasicConstraints and Extension. --- docs/x509.rst | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'docs') 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 -- cgit v1.2.3