Ahmet-Kaplan / xades4j

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

Xades-BES - Object Id #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What is the expected output? What do you see instead?
Expected:
<ds:Object Id="Document-1">
See:
<ds:Object Id="xmldsig-89736e8d-867b-4b56-b335-7ee0602a9066-object0">

What version of the product are you using? On what operating system?
xades4j 1.0.1

Please provide any additional information below.
I would like to ask how can I change Id of an Object to get what I expect? I 
went through javadoc and found nothing to get my problem solved.

//Sorry for writing here, but there's no other contact avaiable on this site.

Thanks for Your help.

Michal (monczek at gmail.com)

Original issue reported on code.google.com by monc...@gmail.com on 22 Nov 2010 at 1:31

GoogleCodeExporter commented 9 years ago
Hi Michal,

Currently the library doesn't support the definition of the Object's Ids. It 
was deliberate as an unique Id is needed to prevent the cases where multiple 
signatures are appended to the same XML document. I opted for automatically 
generate the signature Id and use it as a prefix for some child elements 
(namely References and Objects).

Nevertheless, I noticed that the documentation was not clear about an important 
aspect: when you use an EnvelopedXmlObject it represents content to be signed, 
which means that a Reference that covers the resulting Object is also 
automatically added by the library.

Can you describe your usage scenario?

Original comment by luis.fgoncalv on 25 Nov 2010 at 2:08

GoogleCodeExporter commented 9 years ago
Hi,

I am very glad to discover this library.
I hope it will fill my need in he future.

Original comment by pm.m...@gmail.com on 22 Jan 2011 at 12:47

GoogleCodeExporter commented 9 years ago

Original comment by luis.fgoncalv on 24 Jan 2011 at 5:36