W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2010

W3C XML Digital Signature Object Element Processing Issue

From: deepak <deepak@infraware.co.kr>
Date: Wed, 15 Dec 2010 13:19:20 +0900
Message-ID: <932C9F349DF6A64385F50954E1964FEA013803D1@TOMAS.infraware.co.kr>
To: <public-webapps@w3.org>
Hello There,

I am writing to you on the behalf of my company Infraware Inc. We are in
the business of making Web Runtime and Browsers for Smartphones and
other mobile devices. We are based in Seoul, Korea (South). I got your
email address from your webpage. Currently me and my team are involved
in the development of a Web Runtime and we are facing difficulties in
validating the XML Digital signatures. We thought and hope you could
help us in this regard.


We are able to successfully verify the <Reference> element in case it is
referencing to a URL of an external resource but we are unable to do so
if it is pointing to an <Object> identifier within the same document
(Same Document URI References). For Example ;- 


<Reference URI="#prop">


    <Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"/>


   <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>




<Object Id="prop">

  <SignatureProperties xmlns:dsp="

   <SignatureProperty Id="profile" Target="#DistributorSignature">

    <dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"/>


   <SignatureProperty Id="role" Target="#DistributorSignature">

    <dsp:Role URI="


   <SignatureProperty Id="identifier" Target="#DistributorSignature">






We performed the transformation based on the Canonicalization algorithm
mentioned in the transform element, but digest value that we obtain
after applying the digest algorithm does not match to the given digest
value. We suspect that we are not able to figure out the content to be
digested correctly. Should the content to be canonicalized start from
<Object Id = "prop"> and end at </Object> or should it start from
<SignatureProperties> and end </SignatureProperties>.

We would really appreciate if you could help us with this problem by
giving some explanation about the process.

Thank you for taking time to read this mail.


Best Regards,




  Deepak Tyagi

  Mobile Business Div./ R&D Team 2 

  3,4,8F Bando B/D 48-1 Banpo-dong Seocho-gu,Korea

  T 82 2 6190 7936   F 82 2 535 0478   M 82 10 2642 9623   E 
deepak@infraware.co.kr <mailto:vsceo@infraware.co.kr>    H 
www.infraware.co.kr <http://www.infraware.co.kr>  


(image/png attachment: image001.png)

Received on Wednesday, 15 December 2010 08:56:18 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:28 UTC