The simplest way is to add multiple certificates to the key and add
one <X509Data> node to the <KeyInfo>. All the certs found in the key
(as well as all CRLs) should be written into the <X509Data> node.
       
The function you might want to look at are:

        xmlSecKeyReadPemCert
        xmlSecX509DataReadPemCert
        xmlSecKeyInfoAddX509Data

You are absolutelly right that the current API is not really clear. I am working
on fixing this :)

Aleksey

Jeff Lancelle wrote:
What is the best way to efficiently create an X509Data
structure with multiple certificates that form a
certificate chain. I have been trying to create it
dynamically with some issues through the API.

Question :
Is there something I am missing in the API that would
allow me to do this easily, or would the best solution
be a static template? 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
_______________________________________________
xmlsec mailing list
[EMAIL PROTECTED]
http://www.aleksey.com/mailman/listinfo/xmlsec
  

Reply via email to