Closed sohlae closed 4 months ago
Hi @josh-monreal ,
not sure i got the question correctly, what did you mean by "create a SecurityKey" ?
If you know the recipient key you can use library to decrypt A256GCM JWE for sure.
There are plenty of examples in documentation: https://github.com/dvsekhvalnov/jose-jwt?tab=readme-ov-file#verifying-and-decoding-tokens
Thank you @dvsekhvalnov, I found a way to do it. I'll close this now.
I have a .NET 6.0 application which needs to decrypt a JWE that is encrypted using the A256GCM algorithm. Is it possible to use the jose-jwt library to create a SecurityKey that can decrypt it?