[xmlsec] Question about signature verification

Aleksey Sanin aleksey at aleksey.com
Wed Mar 19 12:09:50 PST 2008


> 
> Loads of text like this:
> 
> /sobrefirmados_p1_28.xml:125: element Exponent: validity error : No
> declaration
> for element Exponent
> /sobrefirmados_p1_28.xml:130: element X509Data: validity error : No
> declaration
> for element X509Data
> /sobrefirmados_p1_28.xml:131: element X509Certificate: validity error : No
> decla
> ration for element X509Certificate
> 

Your file does not match the DTD

> And at the end:
> 
> func=xmlSecOpenSSLEvpDigestVerify:file=..\src\openssl\digests.c:line=229:obj
> =sha
> 1:subj=unknown:error=12:invalid data:data and digest do not match
> FAIL
> SignedInfo References (ok/all): 0/1
> Manifests References (ok/all): 0/0
> Error: failed to verify file "\sobrefirmados_p1_28.xml"

The file have been changed by someone.


Aleksey




More information about the xmlsec mailing list