Lines Matching refs:SSLContext
165 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
203 ssl.SSLContext(ssl.PROTOCOL_SSLv2)
220 context = ssl.SSLContext(ssl_version)
246 client_context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
249 server_context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
289 ctx = ssl.SSLContext(proto)
778 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
929 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
1021 ssl.SSLContext(protocol)
1022 ctx = ssl.SSLContext()
1024 self.assertRaises(ValueError, ssl.SSLContext, -1)
1025 self.assertRaises(ValueError, ssl.SSLContext, 42)
1030 ctx = ssl.SSLContext(proto)
1034 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
1043 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
1055 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
1063 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
1084 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS)
1098 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
1102 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
1107 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
1120 @unittest.skipUnless(hasattr(ssl.SSLContext, 'minimum_version'),
1123 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
1176 ctx = ssl.SSLContext(ssl.PROTOCOL_TLSv1_1)
1193 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
1211 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
1224 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
1235 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
1294 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
1322 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
1333 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
1339 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
1346 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
1355 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
1361 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
1371 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
1386 ctx = ssl.SSLContext(proto)
1404 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
1409 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
1419 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
1436 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
1446 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
1460 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
1488 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
1491 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
1495 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
1498 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
1505 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
1515 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
1519 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
1589 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS)
1633 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
1638 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
1649 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
1673 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
1684 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
1897 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS)
1917 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS)
1930 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS)
1939 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS)
1951 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS)
1960 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS)
2032 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
2045 ctx1 = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
2047 ctx2 = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
2101 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
2135 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS)
2383 self.context = ssl.SSLContext(ssl_version
2645 client_context = ssl.SSLContext(client_protocol)
2647 server_context = ssl.SSLContext(server_protocol)
2705 context = ssl.SSLContext(protocol)
2856 client_context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
2861 server_context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
2877 client_context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
2886 server_context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
2906 server_context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
2909 context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
3071 server_context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
3074 context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
3584 context = ssl.SSLContext(ssl.PROTOCOL_TLS)
3623 context = ssl.SSLContext(ssl.PROTOCOL_TLS)
3630 context = ssl.SSLContext(ssl.PROTOCOL_TLS)
3655 context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
3677 context = ssl.SSLContext(ssl.PROTOCOL_TLS)
3692 @unittest.skipUnless(hasattr(ssl.SSLContext, 'minimum_version'),
3732 @unittest.skipUnless(hasattr(ssl.SSLContext, 'minimum_version'),
3750 context = ssl.SSLContext(ssl.PROTOCOL_TLS)
3994 server_context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
3996 other_context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
3998 client_context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
4132 context = ssl.SSLContext(ssl.PROTOCOL_TLS)
4260 ctx = ssl.SSLContext(protocol)