Searched refs:set_ecdh_curve (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | ssl_servers.py | 200 context.set_ecdh_curve(args.curve_name)
|
D | test_ssl.py | 1023 ctx.set_ecdh_curve("prime256v1") 1024 ctx.set_ecdh_curve(b"prime256v1") 1025 self.assertRaises(TypeError, ctx.set_ecdh_curve) 1026 self.assertRaises(TypeError, ctx.set_ecdh_curve, None) 1027 self.assertRaises(ValueError, ctx.set_ecdh_curve, "foo") 1028 self.assertRaises(ValueError, ctx.set_ecdh_curve, b"foo")
|
/external/python/cpython2/Modules/ |
D | _ssl.c | 3085 set_ecdh_curve(PySSLContext *self, PyObject *name) in set_ecdh_curve() function 3403 {"set_ecdh_curve", (PyCFunction) set_ecdh_curve,
|
/external/python/cpython2/Doc/library/ |
D | ssl.rst | 1238 .. method:: SSLContext.set_ecdh_curve(curve_name)
|