Home
last modified time | relevance | path

Searched refs:server_name_callback (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Lib/
Dssl.py531 def set_servername_callback(self, server_name_callback): argument
532 if server_name_callback is None:
535 if not callable(server_name_callback):
540 return server_name_callback(sslobj, servername, sslctx)
/external/python/cpython2/Doc/library/
Dssl.rst1213 .. method:: SSLContext.set_servername_callback(server_name_callback)
1220 Only one callback can be set per ``SSLContext``. If *server_name_callback*
1224 The callback function, *server_name_callback*, will be called with three
1244 The *server_name_callback* function must return ``None`` to allow the
1254 If an exception is raised from the *server_name_callback* function the TLS
/external/python/cpython3/Doc/library/
Dssl.rst1734 .. attribute:: SSLContext.set_servername_callback(server_name_callback)
1737 you should use :attr:`sni_callback` instead. The given *server_name_callback*
1739 IDN-encoded internationalized domain name, the *server_name_callback*
2517 - The *server_name_callback* callback passed to