public interface KeyCache
KeyPair
s.KeyPair get(Path path, Function<? super Path,? extends KeyPair> loader)
KeyPair
from the cache. Implementations must be
thread-safe.path
- of the keyloader
- to load the key if it isn't present in the cache yetKeyPair
, or null
if not present and could not
be loadedvoid close()
KeyPair
from this cache and destroys their private
keys. This cache instance must not be used anymore thereafter.Copyright © 2019 Eclipse JGit Project. All rights reserved.