| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -608,10 +608,10 @@ added: v15.0.0 | |||
| 608 | 608 | --> | |
| 609 | 609 | ||
| 610 | 610 | * `format`: {string} Must be one of `'raw'`, `'pkcs8'`, `'spki'`, `'jwk'`, or | |
| 611 | - `node.keyObject`. | ||
| 611 | + `'node.keyObject'`. | ||
| 612 | 612 | * `key`: {CryptoKey} | |
| 613 | 613 | * Returns: {Promise} containing {ArrayBuffer}, or, if `format` is | |
| 614 | - `node.keyObject`, a {KeyObject}. | ||
| 614 | + `'node.keyObject'`, a {KeyObject}. | ||
| 615 | 615 | ||
| 616 | 616 | Exports the given key into the specified format, if supported. | |
| 617 | 617 | ||
@@ -695,7 +695,7 @@ added: v15.0.0 | |||
| 695 | 695 | --> | |
| 696 | 696 | ||
| 697 | 697 | * `format`: {string} Must be one of `'raw'`, `'pkcs8'`, `'spki'`, `'jwk'`, or | |
| 698 | - `node.keyObject`. | ||
| 698 | + `'node.keyObject'`. | ||
| 699 | 699 | * `keyData`: {ArrayBuffer|TypedArray|DataView|Buffer|KeyObject} | |
| 700 | 700 | <!--lint disable maximum-line-length remark-lint--> | |
| 701 | 701 | * `algorithm`: {RsaHashedImportParams|EcKeyImportParams|HmacImportParams|AesImportParams|Pbkdf2ImportParams|NodeDsaImportParams|NodeDhImportParams|NodeScryptImportParams|NodeEdKeyImportParams} | |
@@ -1465,7 +1465,7 @@ added: v15.0.0 | |||
| 1465 | 1465 | ||
| 1466 | 1466 | The Node.js Web Crypto API extends various aspects of the Web Crypto API. | |
| 1467 | 1467 | 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 | ||
| 1469 | 1469 | used with the `subtle.exportKey()` and `subtle.importKey()` methods to | |
| 1470 | 1470 | convert between a WebCrypto {CryptoKey} object and a Node.js {KeyObject}. | |
| 1471 | 1471 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments