methodiCertRevocationStatus.CachedStatus
function CachedStatus(aMaxAge: TDateTime; out aStatus: TCertStatusCode): Boolean;
CachedStatus returns True (and the cached verdict in aStatus) when a verdict exists that may be reused. A cached crcRevoked is always reused (revocation is monotonic). A crcOK, or an inconclusive verdict - crcRevocationUnknown, crcCRLExpired - is reused only while all of these hold: aMaxAge (TDateTime days) is above 0; it was reached under the current CRL-set generation, that is no list was added, replaced or removed in any store since; and less than aMaxAge has passed since it was recorded, measured both on the monotonic tick (stTlsUtils.GetTickCount64) and on the wall clock (UTC), where the wall-clock age must also not be negative. No other verdict is reused. The caller applies its policy to an inconclusive verdict: the store's revocation check answers crcOK for it under rpSoftFail, and under rpHardFail does not take it but asks again. Neither clock can lengthen the reuse: a wall clock set back past the moment the verdict was recorded ends it, a wall clock set forward, or time the system spent suspended (which the monotonic tick of Linux and Android does not count), shortens it or ends it; a change of time zone alone does not affect it.