XML-Security / signxml

Python XML Signature and XAdES library
https://xml-security.github.io/signxml/
Apache License 2.0
138 stars 108 forks source link

Generate signature for Invoice XML #67

Closed ovnicraft closed 7 years ago

ovnicraft commented 8 years ago

I am testing this library to replace xades lib in JAVA, now in java app (called in subprocess from python), i got this signature element https://gist.github.com/ovnicraft/09865acf32a6fbb54b4b098205ed054d

Trying to do the same with this lib, has issues around issues, Integers IDS <ds:KeyInfo Id="Certificate188326"> and i want to know signature method is compute over data to sign ? in any special format ? or just bytes ?

kislyuk commented 7 years ago

Sorry about the initial lack of response on this issue. I was unable to understand your question, so I couldn't help you. If you can re-state your question, I may be able to help.

ovnicraft commented 7 years ago

Hi, i am looking for replace my java program to sign XML documents (invoices), so my gist is the example of the element what i need to include in my XML. I need to implement Xades standar http://uri.etsi.org/01903/v1.3.2/ts_101903v010302p.pdf All electronic invoices has XML representation with enveloped signature.

I am looking for help to do this, i am new with this standard.

ovnicraft commented 7 years ago

@kislyuk if you can give some guide to implement Xades-BES with this lib would appreciated.

kislyuk commented 7 years ago

@ovnicraft, unfortunately this library does not support XAdES. Supporting that standard would be a large task that I currently don't have the time for. PRs are welcome.