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 ebe2921

Browse filesBrowse files
panvajuanarbol
authored andcommitted
doc,crypto: fix WebCryptoAPI import keyData and export return
PR-URL: #46076 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
1 parent 3968698 commit ebe2921
Copy full SHA for ebe2921

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

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

‎doc/api/webcrypto.md‎

Copy file name to clipboardExpand all lines: doc/api/webcrypto.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ changes:
689689

690690
* `format`: {string} Must be one of `'raw'`, `'pkcs8'`, `'spki'`, or `'jwk'`.
691691
* `key`: {CryptoKey}
692-
* Returns: {Promise} containing {ArrayBuffer}.
692+
* Returns: {Promise} containing {ArrayBuffer|Object}.
693693

694694
Exports the given key into the specified format, if supported.
695695

@@ -776,7 +776,7 @@ changes:
776776
-->
777777

778778
* `format`: {string} Must be one of `'raw'`, `'pkcs8'`, `'spki'`, or `'jwk'`.
779-
* `keyData`: {ArrayBuffer|TypedArray|DataView|Buffer|KeyObject}
779+
* `keyData`: {ArrayBuffer|TypedArray|DataView|Buffer|Object}
780780

781781
<!--lint disable maximum-line-length remark-lint-->
782782

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.