Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3228

Decryption of XML fields using Private Key file in KeyStore

$
0
0

Hi All,

 

We have recently came across a requirement where we need to perform decryption of a single XML field in the payload. Basically, we need to generate a X.509 Certificate and send it to a third party to encrypt the Employee Bank details and pass on the file to us. No in PI we need to decrypt that XML field using corresponding Private key stored in NWA Key Store.

This can be done either in EJB module or in mapping (java mapping / UDF). Preferably in Mapping.

 

I have gone through many bogs and discussions and I could find the Java code for Digital Signature and its verification but nothing for Decryption..

 

It would be really helpful if someone can advise with the Code Snippet.

 

I am on PI 7.31 Single Stack.

 

Regards

Vj


Viewing all articles
Browse latest Browse all 3228

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>