You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -204,6 +204,7 @@ To sign xml documents:
204
204
-`prefix` - adds this value as a prefix for the generated signature tags
205
205
-`attrs` - a hash of attributes and values `attrName: value` to add to the signature root node
206
206
-`location` - customize the location of the signature, pass an object with a `reference` key which should contain a XPath expression to a reference node, an `action` key which should contain one of the following values: `append`, `prepend`, `before`, `after`
207
+
-`existingPrefixes` - A hash of prefixes and namespaces `prefix: namespace` that shouldn't be in the signature because they already exist in the xml
207
208
-`getSignedXml()` - returns the original xml document with the signature in it, **must be called only after `computeSignature`**
208
209
-`getSignatureXml()` - returns just the signature part, **must be called only after `computeSignature`**
209
210
-`getOriginalXmlWithIds()` - returns the original xml with Id attributes added on relevant elements (required for validation), **must be called only after `computeSignature`**
0 commit comments