pubKeyCache property

  1. @visibleForTesting
Map<String, (String, DateTime)> get pubKeyCache

Cached public keys and when each expires. An entry is dropped when a lookup finds it expired, and on each insert, so nothing here holds a timer.

Implementation

@visibleForTesting
Map<String, (String, DateTime)> get pubKeyCache =>
    _apskCaches[atClient] ??= {};