From 63bced35d1146709923cae87a4ba20c6da10956e Mon Sep 17 00:00:00 2001 From: Andrey Kislyuk Date: Thu, 10 Jan 2019 18:38:31 -0800 Subject: [PATCH] Clarify that signature placeholder is in the ds namespace --- signxml/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/signxml/__init__.py b/signxml/__init__.py index c9e6191..e31df79 100644 --- a/signxml/__init__.py +++ b/signxml/__init__.py @@ -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 - ```` element in **data**. This element will be replaced by the generated - signature, and excised when generating the digest. + ```` 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, )