From 4f164cd6957737243be7178c2184e9c2740d4b4f Mon Sep 17 00:00:00 2001 From: xujie Date: Thu, 8 Jun 2023 19:12:35 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85tls=E7=AD=BE=E5=90=8D?= =?UTF-8?q?=E7=AE=97=E6=B3=95=E5=8F=8A=E5=8A=A0=E5=AF=86=E5=A5=97=E4=BB=B6?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E5=8F=96=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: xujie --- zh-cn/application-dev/reference/apis/js-apis-socket.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-socket.md b/zh-cn/application-dev/reference/apis/js-apis-socket.md index c1bf293b009..d79ce243a2b 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-socket.md +++ b/zh-cn/application-dev/reference/apis/js-apis-socket.md @@ -2817,8 +2817,8 @@ TLS安全相关操作,其中ca证书为必选参数,其他参数为可选参 | password | string | 否 | 读取私钥的密码。 | | protocols | [Protocol](#protocol9) \|Array\<[Protocol](#protocol9)\> | 否 | TLS的协议版本,默认为"TLSv1.2"。 | | useRemoteCipherPrefer | boolean | 否 | 优先使用对等方的密码套件。 | -| signatureAlgorithms | string | 否 | 通信过程中的签名算法,默认为"" 。 | -| cipherSuite | string | 否 | 通信过程中的加密套件,默认为"" 。 | +| signatureAlgorithms | string | 否 | 通信过程中的签名算法,默认为"" 。
签名算法支持单个或者多个,使用冒号分割不同的算法,常用的签名算法有:ECDSA-SHA256
ECDSA-SHA384
RSA-SHA256
DSA-SHA256
RSA-PSS-SHA256
...
具体可以通过openssl命令行工具进行查询。 | +| cipherSuite | string | 否 | 通信过程中的加密套件,默认为"" 。
加密套件支持单个或者多个,使用冒号分割不同的套件,常用的加密套件有:AES256-SHA256
AES128-SHA256
ECDHE-RSA-AES256-SHA384
ECDHE-RSA-AES128-SHA256
ECDHE-ECDSA-AES256-SHA384
...
具体可以通过openssl命令行工具进行查询。 | ## Protocol9+ -- Gitee