diff options
author | Tobias Nießen <tniessen@tnie.de> | 2019-12-29 17:52:01 +0300 |
---|---|---|
committer | Tobias Nießen <tniessen@tnie.de> | 2020-01-21 17:49:09 +0300 |
commit | c9e386c00fd5b1269426975d4b0f4533f66ce089 (patch) | |
tree | 6b0266dec4c78c5c110028ffa2959bd2827e1be2 /doc/api/crypto.md | |
parent | f0d2df41f8716670435b284e987b2fcc23221947 (diff) |
crypto: add key type 'dh'
The new key type 'dh' corresponds to EVP_PKEY_DH.
PR-URL: https://github.com/nodejs/node/pull/31178
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Diffstat (limited to 'doc/api/crypto.md')
-rw-r--r-- | doc/api/crypto.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 7d65fc78cf2..aa89e3b3a22 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -1232,6 +1232,9 @@ passing keys as strings or `Buffer`s due to improved security features. <!-- YAML added: v11.6.0 changes: + - version: REPLACEME + pr-url: https://github.com/nodejs/node/pull/31178 + description: Added support for `'dh'`. - version: v12.0.0 pr-url: https://github.com/nodejs/node/pull/26960 description: Added support for `'rsa-pss'` @@ -1260,6 +1263,7 @@ types are: * `'x448'` (OID 1.3.101.111) * `'ed25519'` (OID 1.3.101.112) * `'ed448'` (OID 1.3.101.113) +* `'dh'` (OID 1.2.840.113549.1.3.1) This property is `undefined` for unrecognized `KeyObject` types and symmetric keys. |