Skip to content

Commit

Permalink
Clarify that signature placeholder is in the ds namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
kislyuk committed Jan 11, 2019
1 parent abebd70 commit 63bced3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions signxml/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,9 @@ def sign(self, data, key=None, passphrase=None, cert=None, reference_uri=None, k
the payload data.
To specify the location of an enveloped signature within **data**, insert a
``<Signature Id="placeholder"></Signature>`` element in **data**. This element will be replaced by the generated
signature, and excised when generating the digest.
``<ds:Signature Id="placeholder"></ds:Signature>`` element in **data** (where
"ds" is the "http://www.w3.org/2000/09/xmldsig#" namespace). This element will
be replaced by the generated signature, and excised when generating the digest.
"""
if id_attribute is not None:
self.id_attributes = (id_attribute, )
Expand Down

0 comments on commit 63bced3

Please sign in to comment.