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:
Filip Skokan authored and GitHub committed 2025-11-07 09:55:31 +00:00
1 parent 5f77aebdfb
commit c2d14c1514
1 file changed
+4 -4
+4 -4
View File
@@ -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,