EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Timestamp changed SignedInfo

Also by EldoS: Solid File System
A virtual file system that offers a feature-rich storage for application documents and data with built-in compression and encryption.
#14883
Posted: 10/30/2010 12:19:49
by Martin Hren (Basic support level)
Joined: 10/20/2010
Posts: 13

Sorry, I missed that out.

Well in that case it's not necessary to implement it at all, I guess. So first thing to do now is removing that ID, than we'll see if that's enough. Thanks.
#14908
Posted: 11/02/2010 06:45:51
by Sašo Osenk (Standard support level)
Joined: 09/20/2010
Posts: 35

Do you know when will be the new version with option to remove any ID? Or if you could tell me how to remove IDs, if is necessary to buy the component we will buy it but I need a warranty that this is going to be fixed soon.

Sašo
#14954
Posted: 11/04/2010 06:31:24
by Sašo Osenk (Standard support level)
Joined: 09/20/2010
Posts: 35

In attachment is file with timestamp and without timestamp. Could you help me why they have different signature?

Thank you.

Sašo


[ Download ]
#14961
Posted: 11/04/2010 18:56:36
by Dmytro Bogatskyy (EldoS Corp.)

First it looks like "signature_with_TS.xml" document is reformatted with some external tool, so it is invalid now.
Digest value for a data is equal in those documents. As for a reference to SignedProperties, it has a different digest value, it is correct as SigningTime is different. And so signature value will be different.
#14964
Posted: 11/05/2010 02:26:32
by Sašo Osenk (Standard support level)
Joined: 09/20/2010
Posts: 35

The code is the same and I didn't change anything.
The only difference in code is that I removed this line XAdESSigner.TSPClient:=TSPFileClient when signing without TS.
The error is Reference URI="#SignedPropertiesId" failed to verify

In attachment are new files and file with TS returns upper error.

Thank you for helping.

Sašo


[ Download ]
#15000
Posted: 11/10/2010 05:01:47
by Dmytro Bogatskyy (EldoS Corp.)

Attached your code (slightly modified) that work for me in both cases.

P.S. The new build is up.
For example, if you need to remove auto-generated id (it generated in Sign / GenerateSignature method now) for SignedSignatureProperties you need to:
ELXMLSigner.Sign();
...
XAdESSigner.QualifyingProperties.SignedProperties.SignedSignatureProperties.ID := '';


[ Download ]
#15403
Posted: 12/29/2010 04:20:23
by Martin Hren (Basic support level)
Joined: 10/20/2010
Posts: 13

Hi Dmytro,

I just wanted to inform you that we've finally managed to complete our project with SBB support.

Thank you very much for all your help. This really is a great product.

Martin
Also by EldoS: CallbackProcess
A component to control process creation and termination in Windows and .NET applications.

Reply

Statistics

Topic viewed 26326 times

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




|

Back to top

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

Got it!