You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@santuario.apache.org by Djelloul Aroui <Dj...@tipp24.de> on 2006/07/03 15:54:29 UTC
WG: help
Hallo every body,
I have used the xml security of apache to sign xml files.
I want to check, if a xml is changed or not. To do this, I want to
compare the signatures and the digest values:
1. I generate a new signature for the giving xml 2. I compare the new
generated xml signature with the old one.
3. I cant compare the digest values, because the object SignedInfo
doesnt deliver a digestValue object?
How can I get the digest value from signedInfo?
Tanks for your help
Djelloul
Re: WG: help
Posted by Berin Lautenbach <be...@wingsofhermes.org>.
Out of curiosity - C library or Java?
If all else fails can read directly from the DOM. Having said that, we
should probably have a method to read out the digest.
Cheers,
Berin
Djelloul Aroui wrote:
> Hallo every body,
>
> I have used the xml security of apache to sign xml files.
>
> I want to check, if a xml is changed or not. To do this, I want to
> compare the signatures and the digest values:
>
> 1. I generate a new signature for the giving xml 2. I compare the new
> generated xml signature with the old one.
> 3. I cant compare the digest values, because the object SignedInfo
> doesnt deliver a digestValue object?
>
> How can I get the digest value from signedInfo?
>
> Tanks for your help
>
> Djelloul
>
>