[xmlsec] How to add a <KeyInfo> standalone to carry a encrypted key?

Aleksey Sanin aleksey at aleksey.com
Fri Apr 11 20:22:27 PDT 2003


Not sure what exactly do you want to do. If you just want to have
<dsig:KeyInfo/>
node in your document then you can easily add it using one of xmlAddChild(),
xmlAddPrevSibling(),... functions from LibXML2. If you want to write key
in a template
then try xmlSecKeyInfoNodeWrite() function.

Aleksey

vgecko wrote:

> Hi Aleksey
> I just want to add a <KeyInfo> node to a xml document,How can i do?
> Regards,
> vgecko





More information about the xmlsec mailing list