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


_______________________________________________
xmlsec mailing list
[EMAIL PROTECTED]
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to