EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Error in Simple Signer ( Demo )

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.
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 (EldoS Corp.)

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 (EldoS Corp.)

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 (EldoS Corp.)

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 (EldoS Corp.)

Great! Please feel free to get back to us if you need any further help from our side.
Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages



Topic viewed 768 times

Number of guests: 1, 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!