EldoS | Feel safer!

Software components for data protection, secure storage and transfer

XML Signer different Signature value

Posted: 04/11/2016 11:33:43
by Martin ANDRES (Standard support level)
Joined: 09/25/2014
Posts: 18

Hi Eugene,
I'm still having problems with XML Signature validation.
Now the application that verifies the sigature load the XML because I removed the prefix ds but when it verifies the signature integrity it fails.

I did what you said: "If you still think that it's the signature value that is the reason, then you can try to do the following: take the signature value from the accepted document and copy it to the non-acceptable document, then try to validate the latter." and it worked, the validation returned ok.
If I let the value that the AdvancedSigner generated it doesn't pass the validation.

What can it be the problem?

Thanks and regards,
Posted: 04/11/2016 11:53:03
by Dmytro Bogatskyy (Team)


How can avoid AdvencedSigner to not format the document?. What should I modified in the demo to remove the formatting and check if the formatting is the problem?

To disable formatting of the signature you should comment the following lines:
    Signer.OnFormatElement := FormatElement;
    Signer.OnFormatText := FormatText;

I have removed the ds namespace from the tags like <ds:Signature> and then the validation worked ok.

Did you remove the ds prefix with a line:
Signer.Signature.SignaturePrefix := '#default';



Topic viewed 4702 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!