cancel
Showing results for 
Search instead for 
Did you mean: 

encryption and decryption in XI

Former Member
0 Kudos

Hi all,

I have to configure a scenario in XI where in which I need to encrypt and decrypt the data.

Say, the source system sends a file, XI has to encrypt the file and then do mapping and then send to target system.

I have seen weblogs, I got how to handle already encrypted message, but here I wanted to do this encryption in XI itself.

Please guide me in this.

Thanks,

Ravi.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos
henrique_pinto
Active Contributor
0 Kudos

First of all, do mapping before you do encryption.

Second, which kind of encryption you want? Like encrypting the entire xml into binary data or to encrypt it into the tag of a target xml?

Anyway, you can use Digital Signatures and Document Encryption API for doing that.

http://help.sap.com/saphelp_nw04s/helpdata/en/4f/65c3b32107964996a56e4165077e24/frameset.htm

You could do it with java mapping, for example, which you could use in the same interface mapping of the message mapping you already have.

Sample code can be found here:

http://help.sap.com/saphelp_nw04s/helpdata/en/a4/d0201854fb6a4cb9545892b49d4851/frameset.htm

For javadoc, check out NetWeaver Developer Studio documentation.

Regards,

Henrique.

Former Member
0 Kudos

Hi ravi,

I don't think you can do encryption before the mapping. You can only encrypt the message after the mapping, eg. develop some adapter modules to encrypt the message and send it out to the target system.

Regards,

Hui

Former Member
0 Kudos

Hi-

Check this thread and the links i posted there

https://www.sdn.sap.com/irj/sdn/forums

Former Member
0 Kudos

Vinay,

Please give the thread number.

Ravi.

Former Member
0 Kudos

Hi-

Sorry for that..