Skip to content

Commit 63bced3

Browse files
committed
Clarify that signature placeholder is in the ds namespace
1 parent abebd70 commit 63bced3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

signxml/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,9 @@ def sign(self, data, key=None, passphrase=None, cert=None, reference_uri=None, k
325325
the payload data.
326326
327327
To specify the location of an enveloped signature within **data**, insert a
328-
``<Signature Id="placeholder"></Signature>`` element in **data**. This element will be replaced by the generated
329-
signature, and excised when generating the digest.
328+
``<ds:Signature Id="placeholder"></ds:Signature>`` element in **data** (where
329+
"ds" is the "http://www.w3.org/2000/09/xmldsig#" namespace). This element will
330+
be replaced by the generated signature, and excised when generating the digest.
330331
"""
331332
if id_attribute is not None:
332333
self.id_attributes = (id_attribute, )

0 commit comments

Comments
 (0)