Skip to content

Commit dbf204c

Browse files
panvaaduh95
authored andcommitted
doc,crypto: link keygen to supported types
PR-URL: #60585 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent c047e73 commit dbf204c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/api/crypto.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4009,8 +4009,8 @@ changes:
40094009
* `publicKey` {string | Buffer | KeyObject}
40104010
* `privateKey` {string | Buffer | KeyObject}
40114011

4012-
Generates a new asymmetric key pair of the given `type`. RSA, RSA-PSS, DSA, EC,
4013-
Ed25519, Ed448, X25519, X448, and DH are currently supported.
4012+
Generates a new asymmetric key pair of the given `type`. See the
4013+
supported [asymmetric key types][].
40144014

40154015
If a `publicKeyEncoding` or `privateKeyEncoding` was specified, this function
40164016
behaves as if [`keyObject.export()`][] had been called on its result. Otherwise,
@@ -4131,8 +4131,8 @@ changes:
41314131
* `publicKey` {string | Buffer | KeyObject}
41324132
* `privateKey` {string | Buffer | KeyObject}
41334133

4134-
Generates a new asymmetric key pair of the given `type`. RSA, RSA-PSS, DSA, EC,
4135-
Ed25519, Ed448, X25519, X448, DH, and ML-DSA[^openssl35] are currently supported.
4134+
Generates a new asymmetric key pair of the given `type`. See the
4135+
supported [asymmetric key types][].
41364136

41374137
If a `publicKeyEncoding` or `privateKeyEncoding` was specified, this function
41384138
behaves as if [`keyObject.export()`][] had been called on its result. Otherwise,

0 commit comments

Comments
 (0)