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

RE: any part signature

From: John Boyer <JBoyer@PureEdge.com>
Date: Fri, 8 Nov 2002 16:50:17 -0800
Message-ID: <7874BFCCD289A645B5CE3935769F0B524527B0@tigger.pureedge.com>
To: "Andrew Fan" <Andrew.Fan@sun.com>
Cc: <w3c-ietf-xmldsig@w3.org>

Hi Andrew,

Not directly.  All of the text in an element is gathered as one text node as far as Xpath filtering is concerned.  Your application is free to put this extra information into the message element before signing, though.

John Boyer, Ph.D.
Senior Product Architect
PureEdge Solutions Inc.
 



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 Friday, 8 November 2002 19:50:53 GMT

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