Lines Matching refs:clientContext
1050 clientContext = Context(SSLv23_METHOD)
1051 clientContext.load_verify_locations(*args)
1054 clientContext.set_verify(
1059 clientSSL = Connection(clientContext, client)
1116 clientContext = Context(SSLv23_METHOD)
1118 clientContext.load_verify_locations(tmpfile)
1289 def _handshake_test(self, serverContext, clientContext): argument
1299 client = Connection(clientContext, clientSocket)
1331 clientContext = Context(SSLv23_METHOD)
1332 clientContext.set_verify(VERIFY_PEER, verify.callback)
1333 clientConnection = Connection(clientContext, None)
1360 clientContext = Context(SSLv23_METHOD)
1361 clientContext.set_verify(VERIFY_PEER, verify_cb_get_subject)
1362 clientConnection = Connection(clientContext, None)
1381 clientContext = Context(TLSv1_2_METHOD)
1386 clientContext.set_verify(VERIFY_PEER, verify_callback)
1389 self._handshake_test(serverContext, clientContext)
1407 clientContext = Context(TLSv1_2_METHOD)
1417 client = Connection(clientContext, clientSocket)
1421 clientContext.set_verify(VERIFY_PEER, verify_callback)
1451 clientContext = Context(TLSv1_2_METHOD)
1452 clientContext.set_verify(mode, None)
1456 self._handshake_test(serverContext, clientContext)
1459 self._handshake_test(serverContext, clientContext)
1498 clientContext = Context(SSLv23_METHOD)
1499 clientContext.set_verify(
1502 clientContext.load_verify_locations(str(tmpdir.join("ca.pem")))
1505 self._handshake_test(serverContext, clientContext)
1538 clientContext = Context(SSLv23_METHOD)
1539 clientContext.set_verify(
1542 clientContext.load_verify_locations(caFile)
1544 self._handshake_test(serverContext, clientContext)
2498 clientContext = Context(SSLv23_METHOD)
2499 clientContext.set_verify(VERIFY_NONE, verify_cb)
2500 client = Connection(clientContext, None)
2543 clientContext = Context(SSLv23_METHOD)
2546 clientContext.get_cert_store().add_cert(cacert)
2547 clientContext.set_verify(VERIFY_PEER, verify_cb)
2548 client = Connection(clientContext, None)