Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

propertyTstOcspServer.LightweightMode

property LightweightMode: TOcspLightweightMode read FLightweightMode write SetLightweightMode default olmDisabled;
LightweightMode selects the RFC 5019 "Lightweight OCSP Profile for High-Volume Environments" policy - see TOcspLightweightMode:
olmDisabled (default) full RFC 6960 per-request: nonce echoed per Nonce, no caching headers, byte-for-byte the pre-lightweight behaviour;
olmAlways every cacheable (good/revoked) answer is a pre-produced, nonce-less BasicOCSPResponse served from cache (no re-signing) with the Sec 6.2 caching headers (Date, Last-Modified, Expires, ETag, Cache-Control: max-age/public/no-transform/must-revalidate); olmAsRequested serve lightweight only when the request carries no nonce; a nonce-bearing request gets the standard fresh RFC 6960 response. Only good/revoked answers are cached (unknown/error are not, which also bounds the cache to the known certificate population). HTTP GET (base64 OCSPRequest in the URL, Sec 5) is decoded in every mode.