EldoS | Feel safer!

Software components for data protection, secure storage and transfer

xades-c sign

Posted: 05/27/2014 08:42:23
by delagoutte jean (Standard support level)
Joined: 04/02/2009
Posts: 36

I use your "AdvancedSigner.exe" to sign a file in xades-c (=>EldosSign.xml).
Signature types : detached
Canolization method : Exclusive canonical
Signature method : RSA SHA1
URL File : myFile
XADES Options : 1.3.2 - XADES-C
key Infos : checked : Include key (public value) and Include key Value
I use Certificate from System Certificatin Storage.

I use a third part to sign the same document (=>test.zip - 20140527152619 - Signature 1.xml).
But the third part don't verify the file "EldosSign.xml".
I see differences between the 2 signatures, but i don't know how to do to have the same :
- SignedInfo ->reference-> dstransform is missing
- dsObject Xades Signedproperties -> id is different ( XmlDsig -... -SignedProps)
- and others things too

My signature must be validate by the third part (https://www.marches-publics.gouv.fr/?page=commun.SignDocument&callFrom=entreprise)

thank you for your help

[ Download ]
Posted: 05/27/2014 17:45:08
by Dmytro Bogatskyy (Team)

Thank you for contacting us.

- SignedInfo ->reference-> dstransform is missing

In "Signature Options" window press "References", then "Modify", then select desired transform and add it.
dsObject Xades Signedproperties -> id is different ( XmlDsig -... -SignedProps)

The sample doesn't allow to change it.
You need to add after "XAdESSigner.Generate()" method call the following line:
  XAdESSigner.QualifyingProperties.SignedProperties.ID := "SignedPropertiesID";

My signature must be validate by the third part (https://www.marches-publics.gouv.fr/?p...ntreprise)

Please ensure that you don't modify the resulting xml document after signing.
See this note: https://www.eldos.com/forum/read.php?F...ssage26896



Topic viewed 417 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!