xmldsig enveloped-signature xpath transform question

Geir S Eidissen

Usenet Archive
Joined
Dec 27, 2004
Messages
1
Reaction score
0
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

Members online

No members online now.

Forum statistics

Threads
548,042
Messages
3,104,223
Members
248,131
Latest member
Tonypshaw1

Latest Threads

Top