I have an example of a XML file in which a DigestValue is produced, see
below. The DigestValue is shown as:

wJsL4RtLToFeHW/xt2ewbAAiNxk=

When I calculate the DigestValue for the following:

xsi:type="xsd:string" xmlns:ns1="http://www.ros.ie/schemas/service/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">CT1/File


I get the DigestValue of:

dRohRaB4At8XvIYb5nMGjaDe+Sw=

Could someone please advise what I need to do to get the correct
DigestValue?

My code that produces a Digest is proven and I know it to be correct, I
expect I need to add a namespace into the data being hashed. I would
appreciate some urgent advise.

Thanks.

....
xsi:type="xsd:string" xmlns:ns1="http://www.ros.ie/schemas/service/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">CT1/File

....


Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>


Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>

igestMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
igestValue>wJsL4RtLToFeHW/xt2ewbAAiNxk=igestValue>
....
--
View this message in context: http://www.nabble.com/computing-Dige...html#a11062276
Sent from the OpenSSL - Dev mailing list archive at Nabble.com.

__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-dev@openssl.org
Automated List Manager majordomo@openssl.org