| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1219,9 +1219,9 @@ changes: | |||
| 1219 | 1219 | * `keyUsages` {string\[]} See [Key usages][]. | |
| 1220 | 1220 | * Returns: {Promise} Fulfills with a {CryptoKey|CryptoKeyPair} upon success. | |
| 1221 | 1221 | ||
| 1222 | - Using the method and parameters provided in `algorithm`, `subtle.generateKey()` | ||
| 1223 | - attempts to generate new keying material. Depending the method used, the method | ||
| 1224 | - may generate either a single {CryptoKey} or a {CryptoKeyPair}. | ||
| 1222 | + Using the parameters provided in `algorithm`, this method | ||
| 1223 | + attempts to generate new keying material. Depending on the algorithm used | ||
| 1224 | + either a single {CryptoKey} or a {CryptoKeyPair} is generated. | ||
| 1225 | 1225 | ||
| 1226 | 1226 | The {CryptoKeyPair} (public and private key) generating algorithms supported | |
| 1227 | 1227 | include: | |
@@ -1296,10 +1296,11 @@ changes: | |||
| 1296 | 1296 | * `keyUsages` {string\[]} See [Key usages][]. | |
| 1297 | 1297 | * Returns: {Promise} Fulfills with a {CryptoKey} upon success. | |
| 1298 | 1298 | ||
| 1299 | - The [`subtle.importKey()`][] method attempts to interpret the provided `keyData` | ||
| 1299 | + This method attempts to interpret the provided `keyData` | ||
| 1300 | 1300 | as the given `format` to create a {CryptoKey} instance using the provided | |
| 1301 | 1301 | `algorithm`, `extractable`, and `keyUsages` arguments. If the import is | |
| 1302 | - successful, the returned promise will be resolved with the created {CryptoKey}. | ||
| 1302 | + successful, the returned promise will be resolved with a {CryptoKey} | ||
| 1303 | + representation of the key material. | ||
| 1303 | 1304 | ||
| 1304 | 1305 | If importing KDF algorithm keys, `extractable` must be `false`. | |
| 1305 | 1306 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments