Package xades4j.production
Interface XadesSigner.SignatureAppendingStrategy
- Enclosing interface:
- XadesSigner
public static interface XadesSigner.SignatureAppendingStrategy
A strategy to append the signature element to a document's DOM tree using
a given node as reference. Examples are appending the signature as the first
or last child of a node.
- See Also:
-
Method Summary
-
Method Details
-
append
Appends the signature element to the DOM tree using the given node as reference.- Parameters:
signatureElement
- the signature elementreferenceNode
- the reference node
-
revert
Reverts the append action. Used when to remove the signature from the DOM tree when signature production fails.- Parameters:
signatureElement
- the signature elementreferenceNode
- the reference node
-