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

Problem with indentation

From: Joan Arnedo <joanar@ac.upc.es>
Date: Tue, 7 Aug 2001 10:54:54 +0200 (MET DST)
Message-Id: <200108070854.KAA17695@pons.ac.upc.es>
To: w3c-ietf-xmldsig@w3.org
I've just begun experimenting with XML signature and a very
simple doubt has assaulted me. Sorry if it may sound somewhat
silly because of my inexperience, but any help would be greatly

When it's time to canonicalize+sign the SignedInfo part of the
signature, what would be the real input? Given the following

(NOTE: Bad indentation on purpose. It's with this "ignorable 
whitespaces" I have this doubt).

   <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14" />
      <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
         <Reference URI="#Id1">
           <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#base64" />
     <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
 <Reference URI="http://anything">
       <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />

What would be exactly the input data (where does it exactly start and where does
it exactly end?

*        <SignedInfo>

*        <SignedInfo>



I have the same doubt as far as generating digests for enveloped 
objects which are XML:


Well, thanks a lot in advance.

Joan Arnedo
Computer Architecture Department
Received on Thursday, 9 August 2001 06:26:52 UTC

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