Currently the signer creation requires the XML being provided as string. Then, internally it is converted to a Document. Some use cases already uses etree.Document so the signer creation forces it to be converted to string prior to be converted back to etree.Document.
This PR add a new convenience method so that the signer can consume an existing etree.Document.
Currently the signer creation requires the XML being provided as string. Then, internally it is converted to a Document. Some use cases already uses etree.Document so the signer creation forces it to be converted to string prior to be converted back to etree.Document.
This PR add a new convenience method so that the signer can consume an existing etree.Document.