I am currently working on a requirement where I am developing Apex REST callouts to an external data providers. Here the complexity lies within the encryption/decryption methods that they are using: Java 8 libraries.
Are there any ways we can encrypt/decrypt the request/response using their AES-GCM (A256GCM) algorithm (i.e. JCA: AES/GCM/NoPadding) in our Apex? I have tried our Apex Crypto Class methods, but that didn't really helped. If anyone have done/know something like this, can I get some insights of how to do it? Any references, articles or examples would be really appreciated.