[xmlsec] Re: XML digital signature enveloped
aleksey at aleksey.com
Fri May 9 09:26:40 PDT 2003
The short answer: you could not do it with enveloped transform only.
By definition , enveloped transform signs all document but the current
<dsig:Signature/> element and its subtree.
You have to use either XPath transform in addition to (or instead of)
enveloped signature or use URI attribute in <dsig:Reference/> element.
Francisco Lechón wrote:
> I'm using your api for sign and verify digital signatures, and I want
> to sign with Enveloped Transform, a document like this:
> But only I want to sign the content of the "data"
> I'm signed the document with xmlsec, but when I'm use
> and the reference node create like this
> ALL the document it's signed, not only the content of the <data>.
> How I can with transform ennveloped do that (without ID's)?
> It's Ok that way or not?.
> The signed document must be of the following form:
> ..... .
> But that the signature only includes as data the node < data >.
> It is this possible one? It would thank for a little aid.
> Descubre el mayor catálogo de coches de la Red en MSN Motor.
More information about the xmlsec