Hi Experts ,
I'm using CPI as a middleware to send data to a Bank server via SFTP .
The payload should be singned first and then encrypted . However as per the standard PGP encryptor in CPI , It encrypts first and then signs . Therefore target system is unable to decrypt it as it isnt signed first .
I came to know that using bouncy castle libraries , we can sign a payload first and then encrypt it in CPI .
Could anybody guide me on that as to what needs to be done in CPI and what libraries/codes need to be uploaded in the groovy script ?
Any pointors are appreciated .
Thanks ,
Nitheesh