I need to access a webservice with authentication. The company for which I have to send the data with the webservice, sent me the spec and a certificate. Cer with the public key, which I have to use for encriptation of some of the data to be sent in the
SOAP header.
So they ask to create a symmetric key as follows:
It is a symmetric key generated in accordance with the AES standard, block mode ECB and padding PKCS5Padding.
The symmetric key is being encrypted with the public key of the system Authentication according to the RSA algorithm and encoded in Base 64.
I still lack a lot of practice with this issue using webservices, can someone give me some information/examples about this type off encryption?
And you can encrypt application data by setting the ProtectionLevel property or select a binding that enables security and no need to set ProtectionLevel and all application data will be encrypted and signed.
R2
Member
96 Points
96 Posts
consuming webservice with SOAP Header encriptation
Nov 29, 2012 11:37 AM|LINK
Hi!
I need to access a webservice with authentication. The company for which I have to send the data with the webservice, sent me the spec and a certificate. Cer with the public key, which I have to use for encriptation of some of the data to be sent in the SOAP header.
So they ask to create a symmetric key as follows:
It is a symmetric key generated in accordance with the AES standard, block mode ECB and padding PKCS5Padding.
The symmetric key is being encrypted with the public key of the system Authentication according to the RSA algorithm and encoded in Base 64.
I still lack a lot of practice with this issue using webservices, can someone give me some information/examples about this type off encryption?
Thanks in advance!
chandradev1
Participant
1563 Points
474 Posts
Re: consuming webservice with SOAP Header encriptation
Nov 30, 2012 08:26 AM|LINK
Hi
You check this URL
http://jakkaj.wordpress.com/2007/10/27/encrypting-and-securing-web-service-traffic-without-ssl/
My Blog
[Life is wonderful if you know how to live life]
Haixia Xie -...
Contributor
3022 Points
294 Posts
Microsoft
Re: consuming webservice with SOAP Header encriptation
Nov 30, 2012 08:31 AM|LINK
Hi R2,
You can use WSE to encrypt SOAP messages over standard HTTP. This MSDN document provides a sample.
#Encrypting SOAP Messages Using Web Services Enhancements
http://msdn.microsoft.com/en-us/library/ms996945.aspx
And you can encrypt application data by setting the ProtectionLevel property or select a binding that enables security and no need to set ProtectionLevel and all application data will be encrypted and signed.
#Understanding Protection Level
http://msdn.microsoft.com/en-us/library/aa347692.aspx
Best Regards.
Feedback to us
Develop and promote your apps in Windows Store