[xmlsec] Problem with ver 0.0.11

kltsai kltsai at ecomuniversal.com.tw
Sun Dec 8 18:15:00 PST 2002

Hi aleksey and igor:

	I am sorry to make such a big mistake. In fact, I downloaded
v0.0.10 from Mr. Igor's site. But I still have some problem with he

<?xml version="1.0"?>
<Data1 Id="anchor1">
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="kenny at a.b.c">
      <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
      <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#dsa-sha1" />
      <Reference URI="#xpointer(/)">
          <Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments" />
        <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />

And it causes the following message:
C:\temp\xmlsec-0.0.11\TestApp\Debug>testapp verify kltsai6.xml
 (c:\temp\xmlsec-0.0.11\src\xmldsig.c:1493): error 51: invalid reference :
= Status:
== Signatures ok: 0
== Signatures fail: 1
== SignedInfo Ref ok: 0
== SignedInfo Ref fail: 1
== Manifest Ref ok: 0
== Manifest Ref fail: 0
Error: operation failed

I debug into the sourse code, and find it means verification stage gets
different digestvalue from DigestValue node. It doesn't stand for xmlSec
does not recognize reference node. I am still trying to find out the
problem. Does anyone have any idea about my problem? Thanks in


More information about the xmlsec mailing list