aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-04-21 08:31:10 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-04-21 22:55:04 -0500
commitbed07357a90237ee92cedba788066f87a63e34b6 (patch)
tree554b05881809f752c35dbdc43b38d6fb203a0b04 /docs
parent9089c91294497aaff3e5204b73365ba687c6ab7e (diff)
downloadcryptography-bed07357a90237ee92cedba788066f87a63e34b6.tar.gz
cryptography-bed07357a90237ee92cedba788066f87a63e34b6.tar.bz2
cryptography-bed07357a90237ee92cedba788066f87a63e34b6.zip
update exception to contain detail
Diffstat (limited to 'docs')
-rw-r--r--docs/x509.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/x509.rst b/docs/x509.rst
index 0ce90168..2e4a0efb 100644
--- a/docs/x509.rst
+++ b/docs/x509.rst
@@ -274,6 +274,9 @@ X.509 Certificate Object
:raises cryptography.x509.UnsupportedExtension: If the certificate
contains an extension that is not supported.
+ :raises cryptography.x509.UnsupportedGeneralNameType: If an extension
+ contains a general name that is not supported.
+
.. doctest::
>>> for ext in cert.extensions:
@@ -969,6 +972,10 @@ Exceptions
This is raised when a certificate contains an unsupported general name
type in an extension.
+ .. attribute:: type
+
+ :type: :term:`text` or int
+
.. _`public key infrastructure`: https://en.wikipedia.org/wiki/Public_key_infrastructure
.. _`TLS`: https://en.wikipedia.org/wiki/Transport_Layer_Security