[xmlsec] X509, verification of signature

Highdone Trias highdonet at adventresources.com
Tue Mar 15 10:23:15 PST 2005


Hi,

Here is my error:

func=xmlSecOpenSSLEvpDigestVerify:file=digests.c:line=164:obj=sha1:subj=unkno
wn:
error=12:invalid data:data and digest do not match
Signature is INVALID


Highdone Trias
Advent Resources, Inc.
www.adventresources.com
310.241.1500x2214

---------- Original Message -----------
From: Aleksey Sanin <aleksey at aleksey.com>
To: piotr at fraktal.com.pl
Cc: xmlsec at aleksey.com
Sent: Wed, 09 Mar 2005 07:43:33 -0800
Subject: Re: [xmlsec] X509, verification of signature

> In order to verify the certificate one needs to construct
> the whole certificate chain to the trusted/root certificate.
> Thus xmlsec might need to know not only the certificate you
> was using for signature but also all the other certificates
> in the chain.
> 
> You code looks reasonable. It would help if you can provide
> the error returned by MSCrypto. This should tell the exact
> failure reasons (I hope).
> 
> BTW, have you tried to verify your signature with xmlsec
> command line utility?
> 
> Aleksey
> 
> _______________________________________________
> xmlsec mailing list
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec
------- End of Original Message -------




More information about the xmlsec mailing list