473,473 Members | 1,889 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

xmldsig enveloped-signature xpath transform question

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

Jul 20 '05 #1
0 1766

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: kk | last post by:
I can't figure out why XMLSpy can't validate pass the following schema segment: <?xml version="1.0" encoding="UTF-8"?> <xs:schema targetNamespace="http://www.mydomain.com/myschema"...
2
by: jacksuyu | last post by:
For example the XML looks like: <SOAP-ENV:Body> <samlp:Response InResponseTo="abcd" IssueInstant="2005-02-03T20:18:06Z" MajorVersion="1" MinorVersion="0" ResponseID="abcd"> <samlp:Status>...
0
by: Tarundeep Singh Kalra | last post by:
any ideas or pointers wrt XMLDSIG -- Tarun ********************************************************************** Tarundeep Singh Kalra (tarundeep1976_nospam_at_yahoo_dot_nospam_dot_com)...
2
by: Carmit | last post by:
Hi, I'm trying to build a proxy for this webservice: http://webservices.sabre.com/wsdl/sabreXML1.0.00/tpf/EndTransactionLLSRQ.wsdl I'm getting the following error: Error: Unable to import...
10
by: gmocnik | last post by:
I am validating XML files on a server which has no internet access and the validadation in C# does not work. Schema with which I am validating has namespaces like:...
0
by: tanish2k | last post by:
hi. I am using c#, visual studio 2003. I need to validate a xml file against schema which itself has 2 more schema imported under it. i have following 2 xsd files : xsd1 --->...
4
by: IsValidUN | last post by:
I have an XSD which has an import to an XSD located on the web which has a DTD within it. (Using VS-2005 2.0 framework) If I load the XSD using the following, it can't find elements defined within...
2
by: yannick.beot | last post by:
Hi, I have a problem with nested namespace in a schema. I defined a schema A. A is importing a schema B with the namespace nsB and a schema C with the namespace nsC. But both B and C are...
2
by: MarianM | last post by:
Hi all, how to validate xades xml against xades and xmlsig schemas? i have this sample: XmlTextReader xmlReader = new XmlTextReader(@"..\..\Data\xades_zep- epes.xml"); XmlReaderSettings...
2
by: agda.karlberg | last post by:
Hi, I'm trying to validate an xml document against a schema. I get an exception saying "For security reasons DTD is prohibited in this XML document. To enable DTD processing set the ProhibitDtd...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.