diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2017-08-01 21:21:19 -0500 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2017-08-01 22:21:19 -0400 |
commit | 3e15ca5ee264d419249ff95f1b67df64a8e979a0 (patch) | |
tree | f32dad35a0e373d8725c0896b563930d8d3c53a1 /docs | |
parent | 6c29d74cfb60ba9480f2fcef18459cc532b2f33b (diff) | |
download | cryptography-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')
-rw-r--r-- | docs/x509/reference.rst | 16 |
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) |