aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/x509.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/x509.rst b/docs/x509.rst
index da6bd85c..eed88b09 100644
--- a/docs/x509.rst
+++ b/docs/x509.rst
@@ -271,6 +271,9 @@ X.509 Certificate Object
:raises cryptography.x509.DuplicateExtension: If more than one
extension of the same type is found within the certificate.
+ :raises cryptography.x509.UnsupportedExtension: If the certificate
+ contains an extension that is not supported.
+
.. doctest::
>>> for ext in cert.extensions:
@@ -492,9 +495,6 @@ X.509 Extensions
:raises cryptography.x509.ExtensionNotFound: If the certificate does
not have the extension requested.
- :raises cryptography.x509.UnsupportedExtension: If the certificate
- contains an extension that is not supported.
-
.. doctest::
>>> cert.extensions.get_extension_for_oid(x509.OID_BASIC_CONSTRAINTS)