Please follow the above suggestions however if the thirdparty is expecting encrypted file from PI then I would suggest to get the keys from thirdparty and deploy it in PI and use the standard SAP PGP module for encryption which is for free,For Advantco you need to purchase license.
Cheers
Pawan