You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/api/tls.markdown
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,6 +102,10 @@ the character "E" appended to the traditional abbreviations):
102
102
Ephemeral methods may have some performance drawbacks, because key generation
103
103
is expensive.
104
104
105
+
## tls.DEFAULT_ECDH_CURVE
106
+
107
+
The default curve name to use for ECDH key agreement. The default
108
+
value is `'prime256v1'`. Consult [RFC 4492] for more details.
105
109
106
110
## tls.getCiphers()
107
111
@@ -154,9 +158,7 @@ automatically set as a listener for the [secureConnection][] event. The
154
158
on the format, see the [OpenSSL cipher list format documentation].
155
159
156
160
-`ecdhCurve`: A string describing a named curve to use for ECDH key agreement
157
-
or false to disable ECDH.
158
-
159
-
Defaults to `prime256v1`. Consult [RFC 4492] for more details.
161
+
or false to disable ECDH. The default is set by [tls.DEFAULT_ECDH_CURVE].
160
162
161
163
-`dhparam`: A string or `Buffer` containing Diffie Hellman parameters,
162
164
required for Perfect Forward Secrecy. Use `openssl dhparam` to create it.
@@ -785,6 +787,7 @@ The numeric representation of the local port.
785
787
786
788
[OpenSSL cipher list format documentation]: http://www.openssl.org/docs/apps/ciphers.html#CIPHER_LIST_FORMAT
0 commit comments