Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/
Dssl.py436 def set_servername_callback(self, server_name_callback): argument
437 if server_name_callback is None:
440 if not callable(server_name_callback):
445 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.rst1722 .. attribute:: SSLContext.set_servername_callback(server_name_callback)
1725 you should use :attr:`sni_callback` instead. The given *server_name_callback*
1727 IDN-encoded internationalized domain name, the *server_name_callback*
2469 - The *server_name_callback* callback passed to