Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dssl_servers.py200 context.set_ecdh_curve(args.curve_name)
Dtest_ssl.py1042 ctx.set_ecdh_curve("prime256v1")
1043 ctx.set_ecdh_curve(b"prime256v1")
1044 self.assertRaises(TypeError, ctx.set_ecdh_curve)
1045 self.assertRaises(TypeError, ctx.set_ecdh_curve, None)
1046 self.assertRaises(ValueError, ctx.set_ecdh_curve, "foo")
1047 self.assertRaises(ValueError, ctx.set_ecdh_curve, b"foo")
/external/python/cpython3/Lib/test/
Dssl_servers.py200 context.set_ecdh_curve(args.curve_name)
Dtest_ssl.py254 ctx.set_ecdh_curve("secp384r1")
1492 ctx.set_ecdh_curve("prime256v1")
1493 ctx.set_ecdh_curve(b"prime256v1")
1494 self.assertRaises(TypeError, ctx.set_ecdh_curve)
1495 self.assertRaises(TypeError, ctx.set_ecdh_curve, None)
1496 self.assertRaises(ValueError, ctx.set_ecdh_curve, "foo")
1497 self.assertRaises(ValueError, ctx.set_ecdh_curve, b"foo")
3985 server_context.set_ecdh_curve("secp384r1")
3994 client_context.set_ecdh_curve("secp384r1")
4003 client_context.set_ecdh_curve("prime256v1")
[all …]
/external/python/cpython2/Modules/
D_ssl.c3180 set_ecdh_curve(PySSLContext *self, PyObject *name) in set_ecdh_curve() function
3498 {"set_ecdh_curve", (PyCFunction) set_ecdh_curve,
/external/python/cpython2/Doc/library/
Dssl.rst1272 .. method:: SSLContext.set_ecdh_curve(curve_name)
/external/python/cpython3/Doc/whatsnew/
D3.3.rst1945 :meth:`~ssl.SSLContext.set_ecdh_curve` methods.
/external/python/cpython3/Doc/library/
Dssl.rst1761 .. method:: SSLContext.set_ecdh_curve(curve_name)
/external/python/cpython3/Misc/
DHISTORY8918 key exchange, through the SSLContext.set_ecdh_curve() method and the