[Qt-interest] XML reader / writer with encrypted nodes?

Kishore kitts.mailinglists at gmail.com
Fri Jul 9 07:24:33 CEST 2010


On Friday 09 Jul 2010 2:31:11 am Brad Hards wrote:
> On Friday, July 09, 2010 01:20:03 am Kishore wrote:
> > I currently use XML for document file format in my application. Currently
> > i use the QDom API for the parsing in the backend and it works quite
> > well. In the near future, i do have security requirements that require
> > that i encrypt element nodes along the lines of the standard as
> > described at http://www.w3.org/TR/xmlenc-core/#sec-eg-Element-Content.
> > 
> > Is this possible with the Qt classes?
> 
> I doubt you can do it without introducing something else to do the crypto
> bits, like QCA.
> 
> QCA won't be integrated into the XML stuff, but doing the crypto and the
> parsing separately isn't that hard (e.g. see anyone's implementation of
> encryption of content in ODF).

To begin with, i am not particularly concerned about the algorithm for the 
encryption. It could be simple. But looking at any implementation of ODF could 
help as you suggest. Are you aware of any minimal ODF reader / writer that 
handles encryption?

Thanks for the tip.
-- 
Cheers!
Kishore



More information about the Qt-interest-old mailing list