Hi Dino,
I am making use of the reusable jar for AES Encryption and Decryption requirement from below
https://github.com/DinoChiesa/Apigee-CustomPolicy-AesCrypto
Example: 128-bit AES GCM decyption -- This is the example I followed for working on AES 256 GCM Encryption and Decryption need.
I am seeing a crypto-error:decryption failed in my trace. The only difference as per documentation is just that I am using a 256 bit key. I am not sure of the exact reason of what could have gone wrong.
Also I am using the Verify JWE (DinoChiesa/Apigee-CustomPolicy-EncryptedJWT) and getting a proper response (ciphertext, iv, key, aad and tag) which is then passed onto AES Decryption.