Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dssl_servers.py199 context.set_ecdh_curve(args.curve_name)
Dtest_ssl.py167 ctx.set_ecdh_curve("secp384r1")
1410 ctx.set_ecdh_curve("prime256v1")
1411 ctx.set_ecdh_curve(b"prime256v1")
1412 self.assertRaises(TypeError, ctx.set_ecdh_curve)
1413 self.assertRaises(TypeError, ctx.set_ecdh_curve, None)
1414 self.assertRaises(ValueError, ctx.set_ecdh_curve, "foo")
1415 self.assertRaises(ValueError, ctx.set_ecdh_curve, b"foo")
3868 server_context.set_ecdh_curve("secp384r1")
3877 client_context.set_ecdh_curve("secp384r1")
3886 client_context.set_ecdh_curve("prime256v1")
[all …]
/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/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.rst1749 .. method:: SSLContext.set_ecdh_curve(curve_name)
/external/python/cpython3/Misc/
DHISTORY8918 key exchange, through the SSLContext.set_ecdh_curve() method and the