mirror of
https://github.com/hanzoai/jose.git
synced 2026-09-24 17:00:01 +00:00
docs: stop claiming the JWK "use" parameter is used during import
Signed-off-by: Filip Skokan <[email protected]>
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user