[xmlsec] X509, verification of signature
highdonet at adventresources.com
Tue Mar 15 10:23:15 PST 2005
Here is my error:
error=12:invalid data:data and digest do not match
Signature is INVALID
Advent Resources, Inc.
---------- 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?
> xmlsec mailing list
> xmlsec at aleksey.com
------- End of Original Message -------
More information about the xmlsec