Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

How can I set content encryption algorithm while using jose-jwe-jws.d.ts #68

Closed
rmonga opened this issue Apr 18, 2018 · 4 comments · Fixed by #98
Closed

How can I set content encryption algorithm while using jose-jwe-jws.d.ts #68

rmonga opened this issue Apr 18, 2018 · 4 comments · Fixed by #98

Comments

@rmonga
Copy link

rmonga commented Apr 18, 2018

In jose-jwe-jws.d.ts file, setContentEncryptionAlgorithm is not exposed for WebCryptographer. As of now its taking A256GCM as default value and since this method is not exposed in ts file I am unable to set content encryption algorithm which I need to use.
Can you please let me know how to set content encryption algorithm when I use jose-jwe-jws.d.ts.

@alokmenghrajani
Copy link
Contributor

Feel free to open a PR which adds the missing function to the type definition file.

@Danitrebu
Copy link

Danitrebu commented Jun 25, 2019

I have the same problem, function does not exist

Edit: I had to use A256GCM type and lucky me, it is used by default

@VikasDayananda
Copy link

I have the same problem.

@mcpherrinm
Copy link
Contributor

Feel free to open a PR which adds the missing function to the type definition file.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants