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 b002330

Browse filesBrowse files
panvaRafaelGSS
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 7718e82 commit b002330
Copy full SHA for b002330

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
@@ -710,7 +710,7 @@ changes:
710710

711711
* `format`: {string} Must be one of `'raw'`, `'pkcs8'`, `'spki'`, or `'jwk'`.
712712
* `key`: {CryptoKey}
713-
* Returns: {Promise} containing {ArrayBuffer}.
713+
* Returns: {Promise} containing {ArrayBuffer|Object}.
714714

715715
Exports the given key into the specified format, if supported.
716716

@@ -799,7 +799,7 @@ changes:
799799
-->
800800

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

804804
<!--lint disable maximum-line-length remark-lint-->
805805

0 commit comments

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