• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

XML Encryption doubt

Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If i encrypt any original XML document it would become:

Now if i encrypt it again(Super Encryption), it would become:

Now, my doubt is, for both the case, structure is exactly same. How could a receiver know whether to decrypt once or twice? Is there any way to specify the level of encryption the sender is applying?
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Receiver would know based through cipher key.
newEncyptedData would be input to find out whether decrypted once or twice.
I am not 100% sure .
Ranch Hand
Posts: 2198
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use WS-Policy (introduction: http://en.wikipedia.org/wiki/Ws-policy) in your service WSDL to advertise what policies your service has regarding, for instance, security. There are libraries in the Metro web service stack which will give you client-side support for WS-Policy without having to write any code.
Best wishes!
straws are for suckers. tiny ads are for attractive people.
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic