CachingRevocationChecker

constructor(storage: Storage, httpClient: HttpClient = HttpClient(), httpTimeout: Duration = 10.seconds, cachingDuration: Duration = 60.days, useETag: Boolean = true, useLastModified: Boolean = true)

Parameters

storage

Storage instance used to persist revocation list caches.

httpClient

Ktor HttpClient used to fetch revocation status and identifier lists over HTTP/HTTPS.

httpTimeout

Timeout duration for network requests fetching revocation lists.

cachingDuration

how long to keep revocation data in cache

useETag

allow Last-Modified header use, mostly exposed for testing only