EldoS | Feel safer!

Software components for data protection, secure storage and transfer

TElX509CertificateValidator Caching

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.
#36017
Posted: 02/26/2016 14:12:02
by Charlie Jimenez (Standard support level)
Joined: 08/14/2012
Posts: 38

Hello,

I am using the TElX509CertificateValidator with SBB 13.0.277.0.

I have set CacheValidationResults = True

This cache seems to be global in nature because I can dispose of my TElX509CertificateValidator object and create a new one, but the new one still recognizes the cached certificates.

I would like to be able to clear out the cache of validated certificates from time to time, but I do not see any command to do this with.

Is it possible, maybe by setting the CacheValidityTime property to some value or via some other method?

Thanks,

Charlie
#36018
Posted: 02/26/2016 14:52:02
by Eugene Mayevski (EldoS Corp.)

There's a class (static) method named ResetCertificateCache in TElX509CertificateValidator class. It clears the cache completely.

In version 14 there's also ClearOutdatedCacheRecords method there which lets you purge just older validation results and keep recent ones.


Sincerely yours
Eugene Mayevski
#36021
Posted: 02/26/2016 17:06:57
by Charlie Jimenez (Standard support level)
Joined: 08/14/2012
Posts: 38

Works great!

Thank you very much.

Charlie

Reply

Statistics

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