EldoS | Feel safer!

Software components for data protection, secure storage and transfer

SBWinCertStorage.get_Certificates

Also by EldoS: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.
#29720
Posted: 06/08/2014 17:35:51
by Fran Thomas (Standard support level)
Joined: 05/22/2014
Posts: 13

Hiya, I've successfully saved a TElX509CertificateEx certificate to a custom windows cert. store but when loading it back, the only option I have is to receive a TElX509Certificate.

How do I get back to a TElX509CertificateEx from an TElX509Certificate or (better) load TElX509CertificateEx directly from the store.

I've tried manually casting (unsupported) and also saving/reading from a memory stream (reports invalid certificate).

Using .net c#, thanks
#29722
Posted: 06/09/2014 01:16:33
by Eugene Mayevski (EldoS Corp.)

You don't need TElX509CertificateEx. This class adds generation functions to TElX509Certificate. For anything but generation of the certificate you use TElX509Certificate.


Sincerely yours
Eugene Mayevski
#29728
Posted: 06/09/2014 04:11:58
by Fran Thomas (Standard support level)
Joined: 05/22/2014
Posts: 13

OK, so once I've generated a certificate is there a simple way to get a TElX509Certificate entity?
#29729
Posted: 06/09/2014 04:15:53
by Vsevolod Ievgiienko (EldoS Corp.)

The simpliest way is to create an instance of TElX509Certificate and load existing certificate or retrieve TElX509Certificate object from a store.
#29730
Posted: 06/09/2014 08:07:22
by Eugene Mayevski (EldoS Corp.)

Quote
Fran Thomas wrote:
OK, so once I've generated a certificate is there a simple way to get a TElX509Certificate entity?


Where would like to get it from? TElX509CertificateEx is a descendant of TElX509Certificate, and it can be used where you need TElX509Certificate.


Sincerely yours
Eugene Mayevski
Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages

Reply

Statistics

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