cancel
Showing results for 
Search instead for 
Did you mean: 

PGP Encription

Former Member
0 Kudos

Hi,

Could any one tell me the process of PGP encription in XI.

it would be helpful if you can provide a supporting document.

Thanks,

Assad

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Assad,

XI dont support PGP encryption and decryption. But you can using PGP encryption at OS level with the help of XI. Install the PGP software in XI and write the OS command for decryption at OS level. Call this command in File adapter after or before message processing.

PGP Encryption:

We get the normal text file from R3. Then you have to write two XI interfaces here. Your first interface will pick from R3 and encrypts the file and drops it in another location of R3. In this interface you have to give OS command before message processing. This will pick the file and do the encryption. The second interface will pick this encrypted file and do the FTP to the 3rd party.

If you only get the files from 3rd party then only thing you have to do is to decrypt the files in XI and send to SAP. If you want to send them files then you have to encrypt the files and send them. 3rd party will have the private key and your company will have the public key. It is the other way round if you send them the files as encrypted.

Or

If you dont want to write a script then the other option is to go for an adapter module which was told by the other reply. If you have an adapter module then the monitoring would be easy. If you or anyone has expertise in writing a module then you can go with a adapter module else you can proceed with the script.

---Satish

Former Member
0 Kudos

Hi Assad,

PGP Encryption is used to support the transmission of sensitive data to / from third party systems via XI.

Adapter modules are developed to encrypt the file using PGP.

We had a similar requirement where we used PGP encryption.The module was developed using Cryptix OpenPGP which is a Java implementation of the OpenPGP standard.When the module is called in the adapter, it uses the PGP key provided by the party that will receive the encrypted message. This module should be called prior to calling the Sap adapter

Logic Flow/Processing:

-


1.Read the XML payload and message for getting the needed data.

2.Read the key to be used in the encryption and log the key to be used and the beginning of the encryption.

3.Call the PGP encryption and compression method.

4.Log whether encryption has been successful.

5.Set as payload the message content encrypted, and the principal data.

6.If any error occurs, logs an exception in PGP adapter module and the error reason.

7.Return the message.

Hope this helps,

Regards,

Vinayak Kamath