GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: consistent webcrypto `node.keyObject` format · nodejs/node@aebe532

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • webcrypto.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/webcrypto.md‎

Copy file name to clipboardExpand all lines: doc/api/webcrypto.md
+4-4Lines changed: 4 additions & 4 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -608,10 +608,10 @@ added: v15.0.0
608608
-->
609609

610610
* `format`: {string} Must be one of `'raw'`, `'pkcs8'`, `'spki'`, `'jwk'`, or
611-
`node.keyObject`.
611+
`'node.keyObject'`.
612612
* `key`: {CryptoKey}
613613
* Returns: {Promise} containing {ArrayBuffer}, or, if `format` is
614-
`node.keyObject`, a {KeyObject}.
614+
`'node.keyObject'`, a {KeyObject}.
615615

616616
Exports the given key into the specified format, if supported.
617617

@@ -695,7 +695,7 @@ added: v15.0.0
695695
-->
696696

697697
* `format`: {string} Must be one of `'raw'`, `'pkcs8'`, `'spki'`, `'jwk'`, or
698-
`node.keyObject`.
698+
`'node.keyObject'`.
699699
* `keyData`: {ArrayBuffer|TypedArray|DataView|Buffer|KeyObject}
700700
<!--lint disable maximum-line-length remark-lint-->
701701
* `algorithm`: {RsaHashedImportParams|EcKeyImportParams|HmacImportParams|AesImportParams|Pbkdf2ImportParams|NodeDsaImportParams|NodeDhImportParams|NodeScryptImportParams|NodeEdKeyImportParams}
@@ -1465,7 +1465,7 @@ added: v15.0.0
14651465

14661466
The Node.js Web Crypto API extends various aspects of the Web Crypto API.
14671467
These extensions are consistently identified by prepending names with the
1468-
`node.` prefix. For instance, the `node.keyObject` key format can be
1468+
`node.` prefix. For instance, the `'node.keyObject'` key format can be
14691469
used with the `subtle.exportKey()` and `subtle.importKey()` methods to
14701470
convert between a WebCrypto {CryptoKey} object and a Node.js {KeyObject}.
14711471

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.