diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-04-21 08:31:10 -0500 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-04-21 08:31:10 -0500 |
commit | d8fc0be73ea00d35eadc3d11686339db5da04c26 (patch) | |
tree | 8dfbbadc84866d36bc872ea28a935d3d4db28750 /docs/x509.rst | |
parent | bd11e028dcf763171097f5366f87f95ad0371a03 (diff) | |
download | cryptography-d8fc0be73ea00d35eadc3d11686339db5da04c26.tar.gz cryptography-d8fc0be73ea00d35eadc3d11686339db5da04c26.tar.bz2 cryptography-d8fc0be73ea00d35eadc3d11686339db5da04c26.zip |
UnsupportedExtension raises when accessing cert.extensions
Diffstat (limited to 'docs/x509.rst')
-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) |