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

Aleksey Sanin aleksey@aleksey.com
Sat, 04 Jan 2003 14:43:55 -0800


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.

Aleksey

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
>xmlsec 
>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
>helpful?
>
>thanks
>  
>