public class BuiltinClientIdentitiesWatcher extends ClientIdentitiesWatcher
KeyPairProvider.Utils
log
ECDSA_SHA2_NISTP256, ECDSA_SHA2_NISTP384, ECDSA_SHA2_NISTP521, EMPTY_KEYPAIR_PROVIDER, SSH_DSS, SSH_ED25519, SSH_RSA
EMPTY_KEYS_PROVIDER
Constructor and Description |
---|
BuiltinClientIdentitiesWatcher(Path keysFolder,
boolean supportedOnly,
ClientIdentityLoader loader,
FilePasswordProvider provider,
boolean strict) |
BuiltinClientIdentitiesWatcher(Path keysFolder,
boolean supportedOnly,
Supplier<ClientIdentityLoader> loader,
Supplier<FilePasswordProvider> provider,
boolean strict) |
BuiltinClientIdentitiesWatcher(Path keysFolder,
Collection<String> ids,
boolean supportedOnly,
ClientIdentityLoader loader,
FilePasswordProvider provider,
boolean strict) |
BuiltinClientIdentitiesWatcher(Path keysFolder,
Collection<String> ids,
boolean supportedOnly,
Supplier<ClientIdentityLoader> loader,
Supplier<FilePasswordProvider> provider,
boolean strict) |
Modifier and Type | Method and Description |
---|---|
static List<Path> |
getBuiltinIdentitiesPaths(Path keysFolder,
Collection<String> ids) |
static List<Path> |
getDefaultBuiltinIdentitiesPaths(Path keysFolder) |
boolean |
isSupportedOnly() |
List<KeyPair> |
loadKeys()
Load available keys.
|
buildProviders, buildProviders
getKeyTypes, loadKey
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getKeyTypes, loadKey
public BuiltinClientIdentitiesWatcher(Path keysFolder, boolean supportedOnly, ClientIdentityLoader loader, FilePasswordProvider provider, boolean strict)
public BuiltinClientIdentitiesWatcher(Path keysFolder, Collection<String> ids, boolean supportedOnly, ClientIdentityLoader loader, FilePasswordProvider provider, boolean strict)
public BuiltinClientIdentitiesWatcher(Path keysFolder, boolean supportedOnly, Supplier<ClientIdentityLoader> loader, Supplier<FilePasswordProvider> provider, boolean strict)
public BuiltinClientIdentitiesWatcher(Path keysFolder, Collection<String> ids, boolean supportedOnly, Supplier<ClientIdentityLoader> loader, Supplier<FilePasswordProvider> provider, boolean strict)
public final boolean isSupportedOnly()
public List<KeyPair> loadKeys()
KeyIdentityProvider
loadKeys
in interface KeyIdentityProvider
loadKeys
in class ClientIdentitiesWatcher
Iterable
instance of available keys - ignored if null
public static List<Path> getDefaultBuiltinIdentitiesPaths(Path keysFolder)
public static List<Path> getBuiltinIdentitiesPaths(Path keysFolder, Collection<String> ids)
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.