Ahmet-Kaplan / xades4j

Automatically exported from code.google.com/p/xades4j
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Allow Signature to be inserted before a sibling element #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. In XAdES4J the signature is always added as the last child of the signature 
parent element. In JSR-105, it is also possible to insert the signature before 
a sibling element in the parent element. It would be nice to have that feature 
in XAdES4J.

What is the expected output? What do you see instead?
An API to control exactly where the Signature should be inserted under the 
parent element.

What version of the product are you using? On what operating system?
1.2.0
Windows 7

Please provide any additional information below.
The signature can be created as the last child and moved afterwards, but it is 
clumsy.

Original issue reported on code.google.com by clementp...@gmail.com on 4 Nov 2011 at 3:12

GoogleCodeExporter commented 9 years ago

Original comment by luis.fgoncalv on 5 Nov 2011 at 2:43

GoogleCodeExporter commented 9 years ago

Original comment by luis.fgoncalv on 5 Nov 2011 at 2:43

GoogleCodeExporter commented 9 years ago

Original comment by luis.fgoncalv on 15 Nov 2011 at 6:53

GoogleCodeExporter commented 9 years ago
Added support for multiple strategies of inserting the signature element into 
the document. AsFirstChild, AsLastChild and AsPreviousSibling are supported by 
default, but others can be implemented.

http://code.google.com/p/xades4j/source/detail?r=149

Original comment by luis.fgoncalv on 15 Nov 2011 at 10:18