public class EncryptedFileKeyPairProvider
extends org.apache.sshd.common.keyprovider.FileKeyPairProvider
FileKeyPairProvider that asks repeatedly for a passphrase for an
encrypted private key if the FilePasswordProvider is a
RepeatingFilePasswordProvider.| Constructor and Description |
|---|
EncryptedFileKeyPairProvider(List<Path> paths)
Creates a new
EncryptedFileKeyPairProvider for the given
Paths. |
| Modifier and Type | Method and Description |
|---|---|
protected KeyPair |
doLoadKey(String resourceKey,
InputStream inputStream,
org.apache.sshd.common.config.keys.FilePasswordProvider provider) |
doLoadKey, getPaths, loadKeys, openKeyPairResource, setFiles, setPathsdoLoadKey, getPasswordFinder, loadKeys, resetCacheMap, setPasswordFindergetSimplifiedLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic EncryptedFileKeyPairProvider(List<Path> paths)
EncryptedFileKeyPairProvider for the given
Paths.paths - to read keys fromprotected KeyPair doLoadKey(String resourceKey, InputStream inputStream, org.apache.sshd.common.config.keys.FilePasswordProvider provider) throws IOException, GeneralSecurityException
doLoadKey in class org.apache.sshd.common.keyprovider.AbstractResourceKeyPairProvider<Path>IOExceptionGeneralSecurityExceptionCopyright © 2018 Eclipse JGit Project. All rights reserved.