Andrey Kislyuk
Andrey Kislyuk
PRs are welcome for type hinting support and mypy lint support. I don't currently have the bandwidth to implement those myself.
Added in #195
Quoting the README file: > ``` > signed_root = XMLSigner(method=signxml.methods.detached).sign(root, key=key, cert=cert) > ``` > For detached signatures, the code above will use the Id or ID attribute of root...
OK, so to clarify, you're looking to be able to generate a detached signature with multiple references, right? That use case is not currently supported.
I must confess I don't understand what `` means either; can you point me to any docs that describe this construction?
OK, this should not be very hard to implement, but I'd like to have a complete test example to work with. Can you please supply or find one?
Thanks, I'm taking a look at implementing this.
See https://www.w3.org/TR/xmldsig-core2/#sec-o-SignatureProperty
I posted the link for my own (implementer's) reference as it demonstrates the use of multiple references (one internal and one external). SignXML works fine with external references, it just...
I gave an example in my first comment: https://github.com/XML-Security/signxml/issues/149#issuecomment-640325908