W3C home > Mailing lists > Public > public-xmlsec@w3.org > February 2011

Need help on canonicalization issue

From: Vittek Robert <vittek@ditec.sk>
Date: Wed, 16 Feb 2011 11:30:08 +0000
To: "public-xmlsec@w3.org" <public-xmlsec@w3.org>
Message-ID: <034D2F406BD646459F54E1649ADF762203C4526A@email.intra.ditec.sk>
Hello,
I would like to kindly ask you for help as the authors of the digital signature and canonicalization specifications on w3c. We are implementing a canonicalization function for our digital signature tool and we need answer to the following question.

Given the following XML data:

<xzep:a xmlns="root_a" xmlns:xzep="xades_zep" xmlns:ds="xmldsig">
	<b xmlns="ns_b" xmlns:e="ns_e">
		<ds:c>
			<d>text D</d>
		</ds:c>
		<e:e>
			cast E
		</e:e>
	</b>
</xzep:a>

What are canonical forms of subsets with root elements c, d, e respectively?

The point is which namespaces should be added to canonical forms of c, d and e. We studied specifications:
- Canonical XML, version 1.0 http://www.w3.org/TR/xml-c14n
- XML Signature Syntax And Processing http://www.w3.org/TR/xmldsig-core/
But we find it quite complex and unclear concerning this issue.

Best regards,

Mgr. Róbert Vittek
 
DITEC, a.s.
Bratislava Business Center V
Plynárenská 7/C
821 09 Bratislava
 
voice: +421 2 58 222 487
fax: +421 2 58 222 777
cell: +421 908 797 827
mailto:vittek@ditec.sk
Received on Thursday, 17 February 2011 13:06:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 17 February 2011 13:06:06 GMT