[xmlsec] Detached Signature over the content of Xml Tag

Aleksey Sanin aleksey at aleksey.com
Fri Nov 7 10:44:42 PST 2008


You need to point XPath to the *data* in the element node.

Aleksey

Admir Pasalic wrote:
> Hi all!
> 
> I´m trying to make a Detached signature over the content of one single 
> Xml Tag.
> The Xml Tag looks like this:
> <Data>
> Base64 encoded Data...
> </Data>
> 
> The signature is supposed to be made over the contents of the Tag, 
> excluding the Tag itself.
> The content of the Tag is base64 encoded.
> I use a signature template file with XPath inside pointing to the 
> desired Tag.
> 
> I have already made a code that works with a different tag tree, but it 
> looks like
> it´s not suitable for the signing of a single tag value (without tags 
> itself).
> 
> Many thanks in advance._______________________________________________
> xmlsec mailing list
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec


More information about the xmlsec mailing list