W3C home > Mailing lists > Public > w3c-ietf-xmldsig@w3.org > October to December 2001

C14n of reference: was RE: URI References clarifications

From: Christian Geuer-Pollmann <geuer-pollmann@nue.et-inf.uni-siegen.de>
Date: Wed, 17 Oct 2001 07:56:37 +0200
To: Ajay Nerurkar <ajayn@valicert.com>, w3c-ietf-xmldsig@w3.org
Message-id: <2578017179.1003305397@pinkpanther>

if I understand correctly, you ask about how the c14nized form of this 
looks? Well, I think it's only a fragment of a greater document, so the 
answer cannot be given that way (depends on eventually existing parent 
elements and whether you have element content or not).

To play arount with c14n, I would suggest you download an implementation of 
c14n and feed some examples to this implementation to it to understand how 
it works.

(If your XML snippet is some single Element, the c14nized output would look 

<dsig:Reference URI="#xpointer(/)"></dsig:Reference>

but there is no xmlns:dsig="" declaration. If you have some child elements 
and parent elements, the Start tag would not be changed.


--On Dienstag, 16. Oktober 2001 18:53 -0700 Ajay Nerurkar 
<ajayn@valicert.com> wrote:

> I have a related question. When doing signature validation after having
> done reference validation how does one treat the xpointer string? In
> other words, if my <Reference> element looks like this:
> <dsig:Reference URI="#xpointer(/)">
> does canonicalization of <SignedInfo> do anything at all to this tag?
Received on Wednesday, 17 October 2001 01:54:25 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:21:36 UTC