xmldsig enveloped-signature xpath transform question

G

Geir S Eidissen

Task: Removing the Signature element from an enveloped-signature xml file.

The signed xml file is like this (SP=space, LF=line feed (ascii 10)),
signature contents is not shown here

<doc>LF
SPSP<data>this is the data</data>LF
SPSP<Signature>...
SPSP</Signature>LF
</doc>LF

When removing the signature element according to the XMLDSIG-spec, is it
correct that the result would be:

<doc>LF
SPSP<data>this is the data</data>LF
SPSP</doc>LF

Note that the two spaces indenting the <Signature> start tag is kept, and
placed in front of the </doc> end tag.

Thankful for any comments on this
Geir S. Eidissen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,899
Latest member
RodneyMcAu

Latest Threads

Top