Class SigningKeyCache


  • public class SigningKeyCache
    extends Object
    A singleton that implements a simple time-based in-memory pull-through cache of event signing keys to avoid decoding keystores and keys every time an event is sent.

    Even though an item in the cache is only deemed valid for a limited time (see TTL), items are currently never evicted from the cache so the cache will grow over time if a large number of credential objects are created and referenced by code that signs events.