Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/asyncio/
Dsslproto.py22 sslcontext = ssl.create_default_context()
24 sslcontext.check_hostname = False
25 return sslcontext
410 def __init__(self, loop, app_protocol, sslcontext, waiter, argument
424 if not sslcontext:
425 sslcontext = _create_transport_context(
433 self._sslcontext = sslcontext
436 self._extra = dict(sslcontext=sslcontext)
Dselector_events.py70 self, rawsock, protocol, sslcontext, waiter=None, argument
75 self, protocol, sslcontext, waiter,
148 sslcontext=None, server=None, backlog=100, argument
151 protocol_factory, sock, sslcontext, server, backlog,
156 sslcontext=None, server=None, backlog=100, argument
187 protocol_factory, sock, sslcontext, server,
194 protocol_factory, conn, extra, sslcontext, server,
200 sslcontext=None, server=None, argument
207 if sslcontext:
209 conn, protocol, sslcontext, waiter=waiter,
Dproactor_events.py640 self, rawsock, protocol, sslcontext, waiter=None, argument
645 self, protocol, sslcontext, waiter,
812 sslcontext=None, server=None, backlog=100, argument
823 if sslcontext is not None:
825 conn, protocol, sslcontext, server_side=True,
Dbase_events.py466 self, rawsock, protocol, sslcontext, waiter=None, argument
1102 sslcontext = None if isinstance(ssl, bool) else ssl
1104 sock, protocol, sslcontext, waiter,
1194 async def start_tls(self, transport, protocol, sslcontext, *, argument
1206 if not isinstance(sslcontext, ssl.SSLContext):
1217 self, protocol, sslcontext, waiter,
Devents.py371 async def start_tls(self, transport, protocol, sslcontext, *, argument
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_sslproto.py36 sslcontext = test_utils.dummy_ssl_context()
39 ssl_proto = sslproto.SSLProtocol(self.loop, proto, sslcontext, waiter,
60 sslcontext = test_utils.dummy_ssl_context()
64 sslproto.SSLProtocol(self.loop, app_proto, sslcontext, waiter,
68 sslcontext = test_utils.dummy_ssl_context()
72 sslproto.SSLProtocol(self.loop, app_proto, sslcontext, waiter,
Dtest_events.py884 sslcontext = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
885 sslcontext.options |= ssl.OP_NO_SSLv2
886 sslcontext.load_cert_chain(certfile, keyfile)
887 return sslcontext
890 sslcontext = self._create_ssl_context(certfile, keyfile)
892 f = self.loop.create_server(factory, '127.0.0.1', 0, ssl=sslcontext)
901 sslcontext = self._create_ssl_context(certfile, keyfile)
902 return self._make_unix_server(factory, ssl=sslcontext)
Dtest_base_events.py1431 def mock_make_ssl_transport(sock, protocol, sslcontext, waiter, argument
/external/python/cpython3/Doc/library/
Dasyncio-eventloop.rst776 sslcontext, \*, server_side=False, \
791 * *sslcontext*: a configured instance of :class:`~ssl.SSLContext`.
Dasyncio-protocol.rst212 - ``'sslcontext'``: :class:`ssl.SSLContext` instance
/external/python/cpython3/Doc/whatsnew/
D3.4.rst154 <whatsnew34-sslcontext>`.
1427 .. _whatsnew34-sslcontext: