Home
last modified time | relevance | path

Searched refs:set_servername_callback (Results 1 – 11 of 11) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_ssl.py1054 self.assertRaises(TypeError, ctx.set_servername_callback)
1055 self.assertRaises(TypeError, ctx.set_servername_callback, 4)
1056 self.assertRaises(TypeError, ctx.set_servername_callback, "")
1057 self.assertRaises(TypeError, ctx.set_servername_callback, ctx)
1061 ctx.set_servername_callback(None)
1062 ctx.set_servername_callback(dummycallback)
1071 ctx.set_servername_callback(dummycallback)
3054 server_context.set_servername_callback(servername_cb)
3075 server_context.set_servername_callback(None)
3091 server_context.set_servername_callback(cb_returning_alert)
[all …]
Dtest_urllib2_localnet.py581 context.set_servername_callback(cb_sni)
/external/python/httplib2/tests/
Dtest_https.py196 context.set_servername_callback(lambda _sock, hostname, _context: sni_log.append(hostname))
/external/python/cpython3/Lib/test/
Dtest_ssl.py1504 self.assertRaises(TypeError, ctx.set_servername_callback)
1505 self.assertRaises(TypeError, ctx.set_servername_callback, 4)
1506 self.assertRaises(TypeError, ctx.set_servername_callback, "")
1507 self.assertRaises(TypeError, ctx.set_servername_callback, ctx)
1511 ctx.set_servername_callback(None)
1512 ctx.set_servername_callback(dummycallback)
1521 ctx.set_servername_callback(dummycallback)
4134 server_context.set_servername_callback(servername_cb)
4155 server_context.set_servername_callback(None)
4171 server_context.set_servername_callback(cb_returning_alert)
[all …]
Dtest_urllib2_localnet.py602 context.set_servername_callback(cb_sni)
/external/python/cpython3/Lib/
Dssl.py531 def set_servername_callback(self, server_name_callback): member in SSLContext
/external/python/cpython2/Modules/
D_ssl.c3319 set_servername_callback(PySSLContext *self, PyObject *args) in set_servername_callback() function
3501 {"set_servername_callback", (PyCFunction) set_servername_callback,
/external/python/cpython3/Doc/library/
Dssl.rst1011 :meth:`SSLContext.set_servername_callback`.
1734 .. attribute:: SSLContext.set_servername_callback(server_name_callback)
2518 :meth:`SSLContext.set_servername_callback` will get an :class:`SSLObject`
/external/python/cpython2/Doc/library/
Dssl.rst843 :meth:`SSLContext.set_servername_callback`.
1213 .. method:: SSLContext.set_servername_callback(server_name_callback)
/external/python/cpython3/Doc/whatsnew/
D3.4.rst1487 :meth:`ssl.SSLContext.set_servername_callback` method.
/external/python/cpython3/Misc/
DHISTORY5487 to a :meth:`SSLContext.set_servername_callback` method. Patch by Daniel