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
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