ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » XML encryption using RSA in IIB 10

Post new topic  Reply to topic
 XML encryption using RSA in IIB 10 « View previous topic :: View next topic » 
Author Message
Mbxp
PostPosted: Wed Mar 15, 2017 10:36 pm    Post subject: XML encryption using RSA in IIB 10 Reply with quote

Newbie

Joined: 06 Dec 2011
Posts: 8

Hi Everyone,

We got a requirement for XML encryption and decryption using the below mentioned mechanism. We are using IIB version 10.0.0.5.
We need to create a digital signature and pass it in one of the tag in the payload body. These are the steps which we need to follow:

1. We need to generate a message digest of request XML using SHA-256 hashing algorithm.

2. We need to encrypt the above mentioned digest value using RSA. We need to use our server private key for encryption.

3. Encode the encrypted value in Step 2 with Base64 encoding.

4. Append the digital signature Base 64 encoded value calculated in step 3 to the request message 'signature' element.

This facility of encryption is not available in ESQL and may be some Java function needs to be written which we can call it from ESQL. Can someone help me with some documentation on the RSA encryption in IIB?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Mar 16, 2017 11:21 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

You really need to look at the XML encryption and signature standards, and most specifically at the SOAP standards. You may find this problem much easier to solve using SOAP instead of just XML.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
adubya
PostPosted: Thu Mar 16, 2017 11:46 pm    Post subject: Reply with quote

Partisan

Joined: 25 Aug 2011
Posts: 377
Location: GU12, UK

Write a Java class to perform your encryption/signing stuff and call that from ESQL.
_________________
Independent Middleware Consultant
andy@knownentity.com
Back to top
View user's profile Send private message Send e-mail
Mbxp
PostPosted: Mon Mar 20, 2017 3:20 am    Post subject: Reply with quote

Newbie

Joined: 06 Dec 2011
Posts: 8

Thanks adubya and fjb_saber. I have written a Java class and called it from ESQL. It is working fine.
Back to top
View user's profile Send private message
vikashrk
PostPosted: Tue Feb 05, 2019 2:00 pm    Post subject: Reply with quote

Newbie

Joined: 01 May 2005
Posts: 4

Hi Mbxp,

Request to share the PI on how this is done. I have got the same requirement and trying to find the solution.

Appreciate the help.

Thanks.

Ram.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » XML encryption using RSA in IIB 10
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.