Home
last modified time | relevance | path

Searched refs:set_ecdh_curve (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Lib/test/
Dssl_servers.py200 context.set_ecdh_curve(args.curve_name)
Dtest_ssl.py1023 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.c3085 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/
Dssl.rst1238 .. method:: SSLContext.set_ecdh_curve(curve_name)