PGP Encryption for files in Pega
We have a requirement to encrypt files(PDF & CSV) using PGP encryption before we place it in SFTP. There seems to be no OOTB option in Pega to encrypt a file.
The solution seems to downloading external JARs from bountyCastle (https://www.bouncycastle.org/) from writing custom java code in Pega to encrypt the file but point is that which JAR file needs to get downloaded for writing custom code?
Has anyone tried it before in Pega and is there any working Java code.