Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/asyncio/
Dsslproto.py23 sslcontext = ssl.create_default_context()
25 sslcontext.check_hostname = False
26 return sslcontext
412 def __init__(self, loop, app_protocol, sslcontext, waiter, argument
426 if not sslcontext:
427 sslcontext = _create_transport_context(
435 self._sslcontext = sslcontext
438 self._extra = dict(sslcontext=sslcontext)
Dselector_events.py64 self, rawsock, protocol, sslcontext, waiter=None, argument
69 self, protocol, sslcontext, waiter,
140 sslcontext=None, server=None, backlog=100, argument
143 protocol_factory, sock, sslcontext, server, backlog,
148 sslcontext=None, server=None, backlog=100, argument
179 protocol_factory, sock, sslcontext, server,
186 protocol_factory, conn, extra, sslcontext, server,
192 sslcontext=None, server=None, argument
199 if sslcontext:
201 conn, protocol, sslcontext, waiter=waiter,
Dproactor_events.py499 self, rawsock, protocol, sslcontext, waiter=None, argument
504 self, protocol, sslcontext, waiter,
646 sslcontext=None, server=None, backlog=100, argument
657 if sslcontext is not None:
659 conn, protocol, sslcontext, server_side=True,
Dbase_events.py436 self, rawsock, protocol, sslcontext, waiter=None, argument
1005 sslcontext = None if isinstance(ssl, bool) else ssl
1007 sock, protocol, sslcontext, waiter,
1097 async def start_tls(self, transport, protocol, sslcontext, *, argument
1109 if not isinstance(sslcontext, ssl.SSLContext):
1120 self, protocol, sslcontext, waiter,
Devents.py372 async def start_tls(self, transport, protocol, sslcontext, *, argument
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_sslproto.py31 sslcontext = test_utils.dummy_ssl_context()
34 ssl_proto = sslproto.SSLProtocol(self.loop, proto, sslcontext, waiter,
55 sslcontext = test_utils.dummy_ssl_context()
59 sslproto.SSLProtocol(self.loop, app_proto, sslcontext, waiter,
63 sslcontext = test_utils.dummy_ssl_context()
67 sslproto.SSLProtocol(self.loop, app_proto, sslcontext, waiter,
Dtest_events.py1013 sslcontext = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
1014 sslcontext.options |= ssl.OP_NO_SSLv2
1015 sslcontext.load_cert_chain(certfile, keyfile)
1016 return sslcontext
1019 sslcontext = self._create_ssl_context(certfile, keyfile)
1021 f = self.loop.create_server(factory, '127.0.0.1', 0, ssl=sslcontext)
1030 sslcontext = self._create_ssl_context(certfile, keyfile)
1031 return self._make_unix_server(factory, ssl=sslcontext)
Dtest_base_events.py1392 def mock_make_ssl_transport(sock, protocol, sslcontext, waiter, argument
/external/python/cpython3/Doc/library/
Dasyncio-eventloop.rst703 sslcontext, \*, server_side=False, \
718 * *sslcontext*: a configured instance of :class:`~ssl.SSLContext`.
Dasyncio-protocol.rst208 - ``'sslcontext'``: :class:`ssl.SSLContext` instance
/external/python/cpython3/Doc/whatsnew/
D3.4.rst154 <whatsnew34-sslcontext>`.
1427 .. _whatsnew34-sslcontext: