public class BuiltinClientIdentitiesWatcher extends ClientIdentitiesWatcher
log
ECDSA_SHA2_NISTP256, ECDSA_SHA2_NISTP384, ECDSA_SHA2_NISTP521, EMPTY_KEYPAIR_PROVIDER, SSH_DSS, SSH_ED25519, SSH_RSA
EMPTY_KEYS_PROVIDER, LOADER
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() |
Iterable<KeyPair> |
loadKeys()
Load available keys.
|
buildProviders, buildProviders, doGetKeyPair, loadKeys, safeMap
getSimplifiedLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getKeyTypes, loadKey, wrap, wrap
iterableOf, iteratorOf, iteratorOf, multiProvider, multiProvider, resolveKeyIdentityProvider, wrapKeyPairs, wrapKeyPairs
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 Iterable<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–2018 The Apache Software Foundation. All rights reserved.