Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7066891
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:08:07+00:00 2026-05-28T05:08:07+00:00

We’ve been asked to start developing a standardised approach to transferring XML data in

  • 0

We’ve been asked to start developing a standardised approach to transferring XML data in a project, which will eventually be used throughout this particular industry. Some of the requirements include:

  • XML must allow partial/complete encryption of data
  • Must be able to verify the source of the XML (server and client will be known to each other)
  • Must support both online and offline processing (batches)
  • Any online processing must be over a secure channel

The ‘server’ and ‘client’ will ‘register’ with each other, and will both initiate the sending of messages.

Some thoughts that have been raised by the consortium:

  • SOAP isn’t liked by most members – it often causes more problems and overhead than it solves
  • The XML integrity and encryption is more important than the transport
  • Most members prefer the concept of encryption/decryption at the application level, rather than solely at transport
  • SSL connections would be online, realtime only and could not be enforced at the web-application level.

We already have a basic XML schema that has been used at the proof-of-concept stage, and basically consists of:

  • A command / response type
  • Variables / response messages

We’re at a high-level stage at the moment, and I’d be interested to know what standards currently exist and what approaches would suggest.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T05:08:07+00:00Added an answer on May 28, 2026 at 5:08 am

    If you are going for partial encryption, then PKCS#7/CMS would quickly become a cludge. PGP is probably not very useful for this either, so this leaves you with XML signature & XML encryption standards.

    For signature generation/verification it would be logical to use XML digital signature. However, you need to very clearly specify what you are going to sign and which choices you are going to make regarding verification. A good verification clearly verifies the canonicalization methods, hashing methods and so on. Beyond that you must make really really sure that what you sign is what you retrieve from the XML. It’s very easy to verify one part and find out you are using an entirely different part of XML. Sometimes software is vulnerable because an attacker can simply strip the signature from the data!

    If you always (always) verify your XML before decryption, you can simply use XML encryption and AES-CBC. If you don’t, you should use GCM mode. As it is currently a working draft, it might require you to create some changes in current software. Without verification or a cipher with integrity protection, you will be vulnerable to padding oracle attacks.

    Of course, for both signature generation and verification as well as encryption/decryption you should use an x509 infrastructure. You can setup you own CA software, e.g. using EJBCA, but you should get the expertise to do so (buying support?). Certificate and key management should be one of the main focusses. Alternatively, you could use standard SSL/TLS certificates. This will allow you to setup SSL enabled servers as well. If you go for SSL/TLS (highly recommended) use client authentication and a small set of safe cipher suites.

    Finally, you should really limit the number of available options, while keeping options open for future changes. If you keep too many options open, it will get very tough to test and attackers will simply choose the least difficult one to attack. If performance is of interest, choose ECC for the X509 certificates with a well known named curve, but beware of the complexities and the likelyhood that some partners won’t be able to find the right libraries.

    You can buy all this from reputable vendors, but I would be pretty skeptic about XML encryption support. I’ve wandered away (even before testing them) from some open source libs because I simply was not able to trust them enough. Unfortunately, I’ve seen much worse from “for profit” organizations. You need a crypto expert with a proven reputation to check the protocols and implementations – just hacking something together is not going to be good enough.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I used javascript for loading a picture on my website depending on which small
I have a jquery bug and I've been looking for hours now, I can't
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I am trying to understand how to use SyndicationItem to display feed which is
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
Specifically, suppose I start with the string string =hello \'i am \' me And
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
We are using XSLT to translate a RIXML file to XML. Our RIXML contains
I have a text area in my form which accepts all possible characters from
I would like to run a str_replace or preg_replace which looks for certain words

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.