KeyPair
Removes all KeyPair from this cache and destroys their private keys.
Returns:
null
Obtains a KeyPair from the cache.
Removes all KeyPair from this cache and destroys their private keys. This cache instance must not be used anymore thereafter.
Obtains a KeyPair from the cache. Implementations must be thread-safe.
of the key
to load the key if it isn't present in the cache yet
the KeyPair, or null if not present and could not be loaded