[xmlsec] How to add a <KeyInfo> standalone to carry a encrypted
key?
Aleksey Sanin
aleksey@aleksey.com
Fri, 11 Apr 2003 20:22:27 -0700
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