KeyPairfrom the cache. Implementations must be thread-safe.
path- of the key
loader- to load the key if it isn't present in the cache yet
nullif not present and could not be loaded
void close()Removes all
KeyPairfrom this cache and destroys their private keys. This cache instance must not be used anymore thereafter.