Re: any part signature

Christian Geuer-Pollmann wrote:

>
> (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)

Yes, I just want to sign part of one xml elementary element instead of
the whole element. But I'm not sure whether XML Signature standards
permit this.

Thank you, Christian!

Andrew

>
> 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:41:38 UTC