Searched refs:set_servername_callback (Results 1 – 6 of 6) sorted by relevance
1570 self.assertRaises(TypeError, ctx.set_servername_callback)1571 self.assertRaises(TypeError, ctx.set_servername_callback, 4)1572 self.assertRaises(TypeError, ctx.set_servername_callback, "")1573 self.assertRaises(TypeError, ctx.set_servername_callback, ctx)1577 ctx.set_servername_callback(None)1578 ctx.set_servername_callback(dummycallback)1586 ctx.set_servername_callback(dummycallback)2192 self.server_context.set_servername_callback(servername_cb)2214 self.server_context.set_servername_callback(servername_cb)4212 server_context.set_servername_callback(servername_cb)[all …]
603 context.set_servername_callback(cb_sni)
548 def set_servername_callback(self, server_name_callback): member in SSLContext
1045 :meth:`SSLContext.set_servername_callback`.1776 .. attribute:: SSLContext.set_servername_callback(server_name_callback)2543 :meth:`SSLContext.set_servername_callback` will get an :class:`SSLObject`
1487 :meth:`ssl.SSLContext.set_servername_callback` method.
5487 to a :meth:`SSLContext.set_servername_callback` method. Patch by Daniel