You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`key`|[`Uint8Array`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array)\|[`CryptoKey`](https://developer.mozilla.org/docs/Web/API/CryptoKey)\|[`JWK`](../../../../types/interfaces/JWK.md)\|[`KeyObject`](../../../../types/interfaces/KeyObject.md)| Private Key or Secret to decrypt the JWE with. See [Algorithm Key Requirements](https://github.com/panva/jose/issues/210#jwe-alg). |
|`getKey`|[`CompactDecryptGetKey`](../interfaces/CompactDecryptGetKey.md)| Function resolving Private Key or Secret to decrypt the JWE with. See [Algorithm Key Requirements](https://github.com/panva/jose/issues/210#jwe-alg). |
Encrypts and resolves the value of the Compact JWE string.
49
49
@@ -52,7 +52,7 @@ Encrypts and resolves the value of the Compact JWE string.
52
52
| Parameter | Type | Description |
53
53
| ------ | ------ | ------ |
54
54
|`key`|[`Uint8Array`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array)\|[`CryptoKey`](https://developer.mozilla.org/docs/Web/API/CryptoKey)\|[`JWK`](../../../../types/interfaces/JWK.md)\|[`KeyObject`](../../../../types/interfaces/KeyObject.md)| Public Key or Secret to encrypt the JWE with. See [Algorithm Key Requirements](https://github.com/panva/jose/issues/210#jwe-alg). |
|`key`|[`Uint8Array`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array)\|[`CryptoKey`](https://developer.mozilla.org/docs/Web/API/CryptoKey)\|[`JWK`](../../../../types/interfaces/JWK.md)\|[`KeyObject`](../../../../types/interfaces/KeyObject.md)| Private Key or Secret to decrypt the JWE with. See [Algorithm Key Requirements](https://github.com/panva/jose/issues/210#jwe-alg). |
|`getKey`|[`FlattenedDecryptGetKey`](../interfaces/FlattenedDecryptGetKey.md)| Function resolving Private Key or Secret to decrypt the JWE with. See [Algorithm Key Requirements](https://github.com/panva/jose/issues/210#jwe-alg). |
Encrypts and resolves the value of the Flattened JWE object.
50
50
@@ -53,7 +53,7 @@ Encrypts and resolves the value of the Flattened JWE object.
53
53
| Parameter | Type | Description |
54
54
| ------ | ------ | ------ |
55
55
|`key`|[`Uint8Array`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array)\|[`CryptoKey`](https://developer.mozilla.org/docs/Web/API/CryptoKey)\|[`JWK`](../../../../types/interfaces/JWK.md)\|[`KeyObject`](../../../../types/interfaces/KeyObject.md)| Public Key or Secret to encrypt the JWE with. See [Algorithm Key Requirements](https://github.com/panva/jose/issues/210#jwe-alg). |
0 commit comments