From d8fc0be73ea00d35eadc3d11686339db5da04c26 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Tue, 21 Apr 2015 08:31:10 -0500 Subject: UnsupportedExtension raises when accessing cert.extensions --- docs/x509.rst | 6 +++--- 1 file 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) -- cgit v1.2.3