[xmlsec] Re: utility of verify3.c

Aleksey Sanin aleksey at aleksey.com
Tue May 5 08:04:36 PDT 2009

xmlsec does both signature verification and cert validation.
It tries to construct the certificates chain from *all* the
certificates in the document and all the untrusted certificates
in the keys manager.


Ashish Agrawal wrote:
> Hi Aleksey,
> I found this sample program verify3.c on xmlsec website: 
> http://www.aleksey.com/xmlsec/api/xmlsec-verify-with-x509.html
> This takes the parameter as signature.xml file and the rootca, so i 
> wanted to know does this sample program does both signatureValue 
> verification and also root Chain certificate verification ?
> if the signature.xml file contains two x509 certificate, in that case 
> will the whole chain ( two x509 certificate in the signature.xml file 
> and the root certificate) will be verifited ?
> thanks in advance.
> Regards,
> Ashish

More information about the xmlsec mailing list