aboutsummaryrefslogtreecommitdiffstats
path: root/docs/x509
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2017-08-01 21:21:19 -0500
committerAlex Gaynor <alex.gaynor@gmail.com>2017-08-01 22:21:19 -0400
commit3e15ca5ee264d419249ff95f1b67df64a8e979a0 (patch)
treef32dad35a0e373d8725c0896b563930d8d3c53a1 /docs/x509
parent6c29d74cfb60ba9480f2fcef18459cc532b2f33b (diff)
downloadcryptography-3e15ca5ee264d419249ff95f1b67df64a8e979a0.tar.gz
cryptography-3e15ca5ee264d419249ff95f1b67df64a8e979a0.tar.bz2
cryptography-3e15ca5ee264d419249ff95f1b67df64a8e979a0.zip
deprecate unicode input for RFC822Name (#3836)
* deprecate unicode input for RFC822Name * pep8...?
Diffstat (limited to 'docs/x509')
-rw-r--r--docs/x509/reference.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/x509/reference.rst b/docs/x509/reference.rst
index 5b0bcd45..8b976119 100644
--- a/docs/x509/reference.rst
+++ b/docs/x509/reference.rst
@@ -1232,8 +1232,24 @@ General Name Classes
This corresponds to an email address. For example, ``user@example.com``.
+ ..note::
+
+ Starting with version 2.1 unicode input is deprecated. If passing an
+ internationalized domain name (IDN) you should first IDNA encode the
+ hostname and then pass the resulting bytes.
+
+ .. attribute:: bytes_value
+
+ .. versionadded:: 2.1
+
+ :type: bytes
+
.. attribute:: value
+ .. deprecated:: 2.1
+
+ Deprecated accessor for the idna-decoded value of :attr:`bytes_value`
+
:type: :term:`text`
.. class:: DNSName(value)