From b896881ea87c0a019a5e18a507c7c265b259a4d3 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Fri, 15 May 2015 09:01:34 -0700 Subject: add test to confirm IDNA2003 is disallowed document that this is a possible exception --- docs/x509.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/x509.rst') 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: -- cgit v1.2.3