Hello,

I've a basic question about the calculated hash values with Apache XML Security 
1.3 (Java). Say I get the following result for a signature calculation (I took 
it out of one of the samples):

ds:Reference URI="">
<ds:DigestMethod 
Algorithm="http://www.w3.org/2000/09/xmldsig#sha1";></ds:DigestMethod>
<ds:DigestValue>F+toCRWB4MpkJLWHfaBE5C1B8Ek=</ds:DigestValue>
</ds:Reference>

As far as I understand, the DigestValue is the base64 representation of the 
calculated binary hash value. How can I compare this calculated SHA1 hash value 
with the one calculated with a different tool where the hash value looks 
something like 8011 FAB5 3D6D 20D0 E8B5 3F72 00F1 7D81 E8F1 F050?

Thanks!

Regards Dominik
______________________________________________________________________________
"Ein Herz für Kinder" - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de
Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht!

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to