cancel
Showing results for 
Search instead for 
Did you mean: 

Encryption and Decryption

Former Member
0 Kudos

Hi,

I have a proxy to file scenario .

My end client said that they would provide the public key for encryption.

As we need the message to be encrypted, let me know what i should be doing with the public key provided by them,.

As they have the private key, they will decrypt the data. But, i dont know the settings to be done once i have the public key.

They are using http://www.gnupg.org/ (Gnupg encryption )

Regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

GnuPG seems to be a PGP-like implementation, so I'm not sure its encryption mechanism are supported by the J2EE built-in encryption schemes. I'm not sure you'll be able to import the publick key within a keystore, but maybe there is a way to extend J2EE's encryptions list with additional libs. Then, a custom adapter module may be required to perform necessary tasks (a JAVA GnuPG API wrapper seems to be available, do not know whether it complies with J2EE architecture or standards)

Rgds

Chris

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Create a Adapter module and have the Encryption logic . The JNDI name should be given in the Communication channel settings.

To write Adapter module, follow this blog:

Cheers!

Karicharla