santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Cantor" <canto...@osu.edu>
Subject RE: C++ feature request
Date Thu, 16 Mar 2006 16:57:05 GMT
> What about another three methods on XENCCipher
> 
> DOMNode * encryptElementDetached(.....)
> DOMNode * encryptElementContentDetached(....)
> DOMNode * decryptElementDetached(......)
> 
> The result is passed back as a DOMNode because the result of a decrypt
> might be a Document Fragment or an element.

Either new methods or flags (with a default parameter) are fine by me. The
latter would be API compatible as well.

> The returned DOM structures would be owned by the original document, but
> detached from that document, and nothing in the original document will
> have been modified.

Right.

> How does that sound?

It sounds perfect, thanks.

-- Scott


Mime
View raw message