diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2015-04-21 11:29:01 -0400 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2015-04-21 11:29:01 -0400 |
commit | 42363224318ead52cad80604622131d379a767a7 (patch) | |
tree | 8dfbbadc84866d36bc872ea28a935d3d4db28750 | |
parent | bd11e028dcf763171097f5366f87f95ad0371a03 (diff) | |
parent | d8fc0be73ea00d35eadc3d11686339db5da04c26 (diff) | |
download | cryptography-42363224318ead52cad80604622131d379a767a7.tar.gz cryptography-42363224318ead52cad80604622131d379a767a7.tar.bz2 cryptography-42363224318ead52cad80604622131d379a767a7.zip |
Merge pull request #1856 from reaperhulk/x509-move-exception-doc
UnsupportedExtension raises when accessing cert.extensions
-rw-r--r-- | docs/x509.rst | 6 |
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) |