[xmlsec] C14N
Varun Sekhri
varunsekhri at yahoo.co.uk
Tue Oct 12 15:51:28 PDT 2004
Hello Aleksey,
I saw that you are the author of C14N in libxml2, so I
am posting this in xmlsec mailing list. I have two
questions.
1. I was not able to find out an API for
xmlOutputBufferCreate . Although it is provided in
xmlsec .xmlSecBufferCreateOutputBuffer.
2. I have a need for parsing c14n canonicalized data
and get a new DOM. I took a method of using
xmlC14NDocDumpMemory and then xmlParseDoc(xmlChar *)
function.It works.
But in parser transform similar thing has been
acheived by
xmlCreatePushParserCtxt
/* required for c14n*/
loadsubset=detectids|completeattrs
replaceentities=1
xmlParseChunk.
I tried to do the same but my outputbuffer->buffer was
always null and outputbuffer->use=0. :(
I am trying to understand why?
Is my method wrong , given the c14n implementation in
libxml2 ???
thanks in adavance
varun
___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com
More information about the xmlsec
mailing list