How can I set content encryption algorithm while using jose-jwe-jws.d.ts
rmonga opened this issue · 4 comments
rmonga commented
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 commented
Feel free to open a PR which adds the missing function to the type definition file.
Danitrebu commented
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 commented
I have the same problem.
mcpherrinm commented
Feel free to open a PR which adds the missing function to the type definition file.