docs: stop claiming the JWK "use" parameter is used during import

Signed-off-by: Filip Skokan <[email protected]>
This commit is contained in:
Filip Skokan
2026-07-28 14:10:05 +02:00
parent 2e922ad0aa
commit 3111d229bd
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -10,8 +10,8 @@ Imports a JWK to a [CryptoKey](https://developer.mozilla.org/docs/Web/API/Crypto
"alg" argument, must be present for asymmetric JSON Web Key imports.
> [!NOTE]\
> The JSON Web Key parameters "use", "key_ops", and "ext" are also used in the [CryptoKey](https://developer.mozilla.org/docs/Web/API/CryptoKey)
> import process.
> The JSON Web Key parameters "key_ops" and "ext" are also used in the [CryptoKey](https://developer.mozilla.org/docs/Web/API/CryptoKey) import
> process.
> [!NOTE]\
> Symmetric JSON Web Keys (i.e. `kty: "oct"`) yield back an [Uint8Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array) instead of a
+2 -2
View File
@@ -144,8 +144,8 @@ export async function importPKCS8(
* "alg" argument, must be present for asymmetric JSON Web Key imports.
*
* > [!NOTE]\
* > The JSON Web Key parameters "use", "key_ops", and "ext" are also used in the {@link !CryptoKey}
* > import process.
* > The JSON Web Key parameters "key_ops" and "ext" are also used in the {@link !CryptoKey} import
* > process.
*
* > [!NOTE]\
* > Symmetric JSON Web Keys (i.e. `kty: "oct"`) yield back an {@link !Uint8Array} instead of a