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

Re: any part signature

From: Christian Geuer-Pollmann <geuer-pollmann@nue.et-inf.uni-siegen.de>
Date: Wed, 06 Nov 2002 10:11:25 +0100
To: Andrew Fan <Andrew.Fan@sun.com>, w3c-ietf-xmldsig@w3.org
Cc: Christian Geuer-Pollmann <geuer-pollmann@nue.et-inf.uni-siegen.de>
Message-ID: <9144428.1036577484@crypto>


(a) You missed some tags (e.g the closing tag from the SignatureProperty)
(b) you have multiple root elements (two msg elements)
(c) it seems that you don't sign the message itself, but only the 
properties (only on reference for #AMsgSign)

But regardsless of these, it looks good. But I guess that's not what you 
wanted to sign.

Christian

--On Dienstag, 5. November 2002 15:05 +0800 Andrew Fan <Andrew.Fan@sun.com> 
wrote:

>
> Hello *,
>
> Is it a validity signature ship W3C XML Signature standards?
>
> Original XML:
> <msg>
> Hello,world!
> </msg>
> <msg>
> Hello,everybody!
> </msg>
>
>
> Signed XML:
>
> <msg>
> Hello,
> <Signature Id="MsgSign1"...>
> <SignedInfo>
> ...
> <Reference URI="#AMsgSign""
> Type="http://www.w3.org/2000/09/xmldsig#signatureProerties">
> ...
> </Reference>
> <SignedInfo>
> ...
> <Object>
> <SignatureProperties>
> <SignatureProperty Id="AMsgSign" Target="#MsgSign1">
> World
> </SignatureProperties>
> </Object>
> </Signature>
> !
> </msg>
> <msg>
> Hello,everyBody!
> </msg>
>
>
>
> Many Thanks,
> Amdrew
>
Received on Wednesday, 6 November 2002 04:04:17 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.29 : Thursday, 13 January 2005 12:10:16 GMT