[xmlsec] Inserting XML sig at specific point

Aleksey Sanin aleksey at aleksey.com
Tue Jun 12 15:56:57 PDT 2007


Find call to xmlSecTmplSignatureCreate(), then find
the call to xmlAddChild(). Replace the root node
in the later with whatever you want.

Aleksey

Chris McQueen wrote:
> Aleksey,
> 
>  
> 
> I am working off of sign3.c example. I am able to sign the xml file and 
> add all the x509 data,
> 
> but it automatically inserts the <Signature> node at the end of my xml file.
> 
>  
> 
> How would I instruct the program to insert the <Signature> block at a 
> certain point in the
> 
> xml file, i.e. insert it inside the following block:
> 
>  
> 
> <SOAP-SEC:Signature SOAP:mustUnderstand="1"></SOAP-SEC:Signature>
> 
>  
> 
> Thanks,
> 
>  
> 
> Chris
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> xmlsec mailing list
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec



More information about the xmlsec mailing list