[xmlsec] X509 Data Has Empty Nodes
aleksey at aleksey.com
Mon Jun 6 09:05:37 PDT 2016
Please take a look at the examples/sign3.c -- it does exactly what you
want and doesn't print any extra lines.
On 6/5/16 4:36 PM, Sergio Garcia wrote:
> I was including the missing functions to handle X509 information when
> signing XML files to the python-xmlsec wrapper library and noted that
> when using the subject name I got additional empty nodes to X509Data node.
> This is the X509Data node right before signing the template.
> And this is the signed node:
> <X509SubjectName>emailAddress=xmlsec at aleksey.com
> <mailto:xmlsec at aleksey.com>,CN=Aleksey Sanin,OU=Examples RSA
> Certificate,O=XML Security Library
> I put a sample for this (sign4) in my fork
> at https://github.com/sergio-garcia/xmlsec, but I was unable to
> determine what is causing this additional empty text nodes.
> I used Ubuntu 14.04 with the supplied libxmlsec1-dev on my tests.
> There is something that I'm probably missing?
> xmlsec mailing list
> xmlsec at aleksey.com
More information about the xmlsec