EldoS | Feel safer!

Software components for data protection, secure storage and transfer

TElX509CertificateValidator Caching

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


I am using the TElX509CertificateValidator with SBB

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?


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
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.




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