[Qt-interest] QtXml - encrypted documents

Kishore kitts.mailinglists at gmail.com
Thu Jul 8 08:58:07 CEST 2010


On Thursday 08 Jul 2010 12:03:56 pm Thiago Macieira wrote:
> On Thursday 8. July 2010 08.25.13 Kishore wrote:
> > Now that i think of it, QDom seems like the wrong choice as the document
> > is  parsed only once during the setContent() call at which time the sub
> > elements of encrypted elements are invisible. Does the QXmlStreamReader
> > API parse the document incrementally such that, when i encounter an
> > encrypted element, i first decrypt it and then ask the reader to continue
> > parsing from there?
> 
> I think that you don't have real XML. No classes will be perfectly suitable
> for you.

Which of the QtXml API then support encryption as defined by the standard? The 
kind of encryption i wish to use is as described here 
http://www.w3.org/TR/xmlenc-core/#sec-eg-Element-Content
-- 
Cheers!
Kishore



More information about the Qt-interest-old mailing list