Home
last modified time | relevance | path

Searched refs:client_context (Results 1 - 8 of 8) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_ssl.py308 client_context, server_context, hostname = testing_context()
319 client_context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
320 client_context.load_verify_locations(SIGNING_CA)
327 return client_context, server_context, hostname
1135 client_context, server_context, hostname = testing_context()
1138 with client_context.wrap_socket(socket.socket(),
2367 client_context, server_context, hostname = testing_context()
2372 sslobj = client_context.wrap_bio(incoming, outgoing,
2831 def server_params_test(client_context, server_context, indata=b"FOO\n",
2843 with client_context
[all...]
/third_party/python/Lib/test/test_asyncio/
H A Dtest_sslproto.py227 client_context = test_utils.simple_client_sslcontext()
271 new_tr = await self.loop.start_tls(tr, proto, client_context)
285 client_context = weakref.ref(client_context)
287 self.assertIsNone(client_context())
293 client_context = test_utils.simple_client_sslcontext()
334 ssl=client_context)
349 client_context = weakref.ref(client_context)
351 self.assertIsNone(client_context())
[all...]
H A Dtest_ssl.py557 client_context = ssl.SSLContext(proto)
559 client_context.check_hostname = False
560 client_context.verify_mode = ssl.CERT_NONE
682 client_context = test_utils.simple_client_sslcontext()
726 new_tr = await self.loop.start_tls(tr, proto, client_context)
744 client_context = self._create_client_ssl_context()
785 ssl=client_context)
800 client_context = weakref.ref(client_context)
801 self.assertIsNone(client_context())
[all...]
H A Dutils.py83 client_context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
84 client_context.check_hostname = False
86 client_context.verify_mode = ssl.CERT_NONE
87 return client_context
H A Dtest_events.py782 client_context = test_utils.simple_client_sslcontext()
784 self.test_connect_accepted_socket(server_context, client_context)
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/
H A Dconnection.c283 &connection->client_context, in MHD_connection_close()
1412 connection->client_context
1458 &connection->client_context))
1615 &connection->client_context))
2581 &connection->client_context,
2619 connection->client_context = NULL;
H A Dinternal.h590 void *client_context; member
/third_party/mbedtls/tests/src/test_helpers/
H A Dssl_helpers.c2031 mbedtls_test_message_socket_context server_context, client_context; in mbedtls_test_ssl_perform_handshake() local
2033 mbedtls_test_message_socket_init(&client_context); in mbedtls_test_ssl_perform_handshake()
2045 options, &client_context, in mbedtls_test_ssl_perform_handshake()
2345 options->dtls != 0 ? &client_context : NULL); in mbedtls_test_ssl_perform_handshake()

Completed in 19 milliseconds