mirror of
https://github.com/nodejs/node.git
synced 2026-10-14 10:26:26 -04:00
doc,crypto: link keygen to supported types
PR-URL: https://github.com/nodejs/node/pull/60585 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
5f77aebdfb
commit
c2d14c1514
1 file changed
+4
-4
+4
-4
@@ -4009,8 +4009,8 @@ changes:
|
||||
* `publicKey` {string | Buffer | KeyObject}
|
||||
* `privateKey` {string | Buffer | KeyObject}
|
||||
|
||||
Generates a new asymmetric key pair of the given `type`. RSA, RSA-PSS, DSA, EC,
|
||||
Ed25519, Ed448, X25519, X448, and DH are currently supported.
|
||||
Generates a new asymmetric key pair of the given `type`. See the
|
||||
supported [asymmetric key types][].
|
||||
|
||||
If a `publicKeyEncoding` or `privateKeyEncoding` was specified, this function
|
||||
behaves as if [`keyObject.export()`][] had been called on its result. Otherwise,
|
||||
@@ -4131,8 +4131,8 @@ changes:
|
||||
* `publicKey` {string | Buffer | KeyObject}
|
||||
* `privateKey` {string | Buffer | KeyObject}
|
||||
|
||||
Generates a new asymmetric key pair of the given `type`. RSA, RSA-PSS, DSA, EC,
|
||||
Ed25519, Ed448, X25519, X448, DH, and ML-DSA[^openssl35] are currently supported.
|
||||
Generates a new asymmetric key pair of the given `type`. See the
|
||||
supported [asymmetric key types][].
|
||||
|
||||
If a `publicKeyEncoding` or `privateKeyEncoding` was specified, this function
|
||||
behaves as if [`keyObject.export()`][] had been called on its result. Otherwise,
|
||||
|
||||
Reference in new issue
Block a user