RE: any part signature

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 UTC