[xmlsec] A signed xml msg can't be verified

Aleksey Sanin aleksey at aleksey.com
Sat Jan 4 14:43:55 PST 2003

Check apps/xmlsec.c and test examples from tests/testDSig.sh. Also this
question was discussed in the mailing list multiple times. Search for "x509"
in the topics page.


Derek Lei Liu wrote:

>Thanks Aleksey!  I agree that manually attach the x509
>section is a bad idea and it is very likely the root
>cause of my problem.  So I need to change that.  The
>code we are using was derived from one of your example
>(the 2nd one I believe).  However, that sample doesn't
>have x509 related functions.  I just browsed the
>API reference and found some x509 related functions. 
>However, since I am pretty new to xml signature stuff,
>I don't know how to use them.  Do you happen to have
>some sample code for signing xml message and attach
>with x509 certificates? Or any pointers might be

More information about the xmlsec mailing list