EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Error in Simple Signer ( Demo )

Posted: 11/27/2013 06:51:13
by Krzysztof Tomaszewski (Basic support level)
Joined: 11/27/2013
Posts: 3

Before an After Save XML with Sign

Posted: 11/27/2013 06:58:19
by Vsevolod Ievgiienko (Team)

Thank you for contacting us.

This is so-called BOM. You should create your own instance of TElXMLUTF8Codec, set its WriteBOM property to 'false' and pass it to TElXMLDOMDocument.SaveToStream method.
Posted: 11/28/2013 09:10:21
by Krzysztof Tomaszewski (Basic support level)
Joined: 11/27/2013
Posts: 3

Thank you for help.
I have another problem when I use function DetectCertFileFormat
I try with crt, pem and pfx

I have error : "Invalid certificate data"
Posted: 11/28/2013 09:22:54
by Ken Ivanov (Team)

Hello Krzysztof,

I suspect what you are coming across is an internal exception that is thrown, routed and caught by SecureBlackbox components under the bonnet. It only exposes itself when the application is run within the debugger, and will remain unnoticed if the application is launched standalone. Optionally, you can add the EElCertificateError to the list of ignored exceptions in Delphi IDE, and the execution won't be stopping on it any more.

If you run your application outside of the IDE and the exception is still thrown, we will need to have a look at your certificate. You can post it to us securely via our Helpdesk system.
Posted: 11/28/2013 09:25:19
by Eugene Mayevski (Team)

With what "crt, pem and pfx" are you trying? Are you trying to load some particular file or different files?

When exactly do you get the error? The method tries to load the file in question in different formats. If the format is not correct for particular load* method, the exception is thrown and then caught by DetectCertFileFormat method. So if you get the error message in IDE, it's possible that this exception is handled internally so you can just continue execution.

Sincerely yours
Eugene Mayevski
Posted: 12/02/2013 04:09:33
by Krzysztof Tomaszewski (Basic support level)
Joined: 11/27/2013
Posts: 3

You have right, everything is OK, thanks ;)
Posted: 12/02/2013 09:14:23
by Ken Ivanov (Team)

Great! Please feel free to get back to us if you need any further help from our side.



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