diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-05-15 09:01:34 -0700 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-05-18 18:55:29 -0700 |
commit | b896881ea87c0a019a5e18a507c7c265b259a4d3 (patch) | |
tree | 9e3b138845027fc339e1a2679988bdd024568f57 /docs | |
parent | d0a66e7ea409a9a152c6dbc7a85f42ad1cc9148a (diff) | |
download | cryptography-b896881ea87c0a019a5e18a507c7c265b259a4d3.tar.gz cryptography-b896881ea87c0a019a5e18a507c7c265b259a4d3.tar.bz2 cryptography-b896881ea87c0a019a5e18a507c7c265b259a4d3.zip |
add test to confirm IDNA2003 is disallowed
document that this is a possible exception
Diffstat (limited to 'docs')
-rw-r--r-- | docs/x509.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/x509.rst b/docs/x509.rst index c8505a87..c570f196 100644 --- a/docs/x509.rst +++ b/docs/x509.rst @@ -313,6 +313,9 @@ X.509 Certificate Object :raises cryptography.x509.UnsupportedGeneralNameType: If an extension contains a general name that is not supported. + :raises UnicodeError: If an extension contains IDNA encoding that is + invalid or not compliant with IDNA 2008. + .. doctest:: >>> for ext in cert.extensions: |