putCachedCrl method

void putCachedCrl(
  1. String key,
  2. Uint8List value, {
  3. Duration ttl = const Duration(minutes: 15),
})

Optional CRL cache with TTL to avoid mass re-fetch.

Implementation

void putCachedCrl(String key, Uint8List value,
    {Duration ttl = const Duration(minutes: 15)}) {
  _writeTtlCache(_crlCache, key, value, ttl);
}