Re: enveloping signature

Hi Ari,

--On Donnerstag, 7. Februar 2002 16:40 -0500 Ari Kermaier <> 

> If I have an arbitrary XML document, and I want to construct an
> enveloping signature over the entire document, what do you think would be
> appropriate handling of items outside the input document's root element?
> For example, if I want to place the whole input document inside a
> dsig:Object element, would it make sense to include the XML declaration,
> the doctype declaration, comments and PIs?
> Particularly regarding the DTD, should this perhaps be added to the top
> of the Signature document instead, with the Name changed to
> "dsig:Signature"?

AFAIK, you can't put the XML declaration and the doctype/DTD into an 
Element. But I would include PIs and Comments. And I would change the DTD, 


Received on Friday, 8 February 2002 04:40:05 UTC