On Sun, Nov 23, 2014 at 9:45 AM, Burak Arslan <burak.arslan@arskom.com.tr> wrote:

On 11/22/14 21:42, Ovnicraft wrote:
> I am working in digital signatures for my country and i want to work
> just in python, so my work start reading espec about xades[1], nothing
> complicated, now i see lxml can help me but i want to know if anyone
> here has experience around this.

Then I've got an early christmas gift for you:

https://github.com/arskom/pyubl/

We'd done all the grunt work of researching, gathering, integrating and
parsing all of xmldigsig, xades and ubl schemas and their various
extensions and dependencies. Courtesy of Arskom Ltd., it's now open
source under the three clause BSD license: https://github.com/arskom/pyubl/

I've extracted the digsig part from your example, tidied it up and wrote
the code to parse it. Now it's up to you to make sense of all that data.

I am here again, i have many many code to generate digsig tags with data, do you work in generate the XML ?
I want to see if we write something to extend lxml and include digsig.

comments please !


Let me know how you progress.

Best regards,
Burak

_________________________________________________________________
Mailing list for the lxml Python XML toolkit - http://lxml.de/
lxml@lxml.de
https://mailman-mail5.webfaction.com/listinfo/lxml



--