public class CachingKeyPairProvider extends org.apache.sshd.common.keyprovider.FileKeyPairProvider implements Iterable<KeyPair>
FileKeyPairProvider that uses an external KeyCache.| Constructor and Description |
|---|
CachingKeyPairProvider(List<Path> paths,
KeyCache cache)
Creates a new
CachingKeyPairProvider using the given
KeyCache. |
| Modifier and Type | Method and Description |
|---|---|
Iterator<KeyPair> |
iterator() |
Iterable<KeyPair> |
loadKeys(org.apache.sshd.common.session.SessionContext session) |
doLoadKeys, getIoResource, getPaths, setPathsdoLoadKeys, doLoadKeys, getPasswordFinder, loadKeys, openKeyPairResource, resetCacheMap, setPasswordFindergetSimplifiedLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic CachingKeyPairProvider(List<Path> paths, KeyCache cache)
CachingKeyPairProvider using the given
KeyCache. If the cache is null, this is a simple
FileKeyPairProvider.paths - to load keys fromcache - to use, may be null if no external caching is desiredCopyright © 2019 Eclipse JGit Project. All rights reserved.