Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit dbf204c

Browse filesBrowse files
panvaaduh95
authored andcommitted
doc,crypto: link keygen to supported types
PR-URL: #60585 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent c047e73 commit dbf204c
Copy full SHA for dbf204c

File tree

Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Open diff view settings
Collapse file

‎doc/api/crypto.md‎

Copy file name to clipboardExpand all lines: doc/api/crypto.md
+4-4Lines changed: 4 additions & 4 deletions
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.