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
Constructor and Description |
---|
BuiltinClientIdentitiesWatcher(Path keysFolder,
boolean supportedOnly,
ClientIdentityLoader loader,
FilePasswordProvider provider,
boolean strict) |
BuiltinClientIdentitiesWatcher(Path keysFolder,
boolean supportedOnly,
ClientIdentityLoaderHolder loader,
FilePasswordProviderHolder 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,
ClientIdentityLoaderHolder loader,
FilePasswordProviderHolder provider,
boolean strict) |
Modifier and Type | Method and Description |
---|---|
static List<Path> |
getBuiltinIdentitiesPaths(Path keysFolder,
Collection<String> ids) |
static List<Path> |
getDefaultBuiltinIdentitiesPaths(Path keysFolder) |
protected boolean |
isSupported(SessionContext session,
KeyPair kp) |
boolean |
isSupportedOnly() |
Iterable<KeyPair> |
loadKeys(SessionContext session)
Load available keys.
|
buildProviders, buildProviders, doGetKeyPairs, loadKeys
getSimplifiedLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getKeyTypes, loadKey, wrap, wrap
exhaustCurrentIdentities, isEmpty, iterableOf, 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, ClientIdentityLoaderHolder loader, FilePasswordProviderHolder provider, boolean strict)
public BuiltinClientIdentitiesWatcher(Path keysFolder, Collection<String> ids, boolean supportedOnly, ClientIdentityLoaderHolder loader, FilePasswordProviderHolder provider, boolean strict)
public final boolean isSupportedOnly()
public Iterable<KeyPair> loadKeys(SessionContext session)
KeyIdentityProvider
loadKeys
in interface KeyIdentityProvider
loadKeys
in class ClientIdentitiesWatcher
session
- The SessionContext
for invoking this load command - may
be null
if not invoked within a session context (e.g., offline tool or session unknown).Iterable
instance of available keys - ignored if null
protected boolean isSupported(SessionContext session, KeyPair kp)
public static List<Path> getDefaultBuiltinIdentitiesPaths(Path keysFolder)
public static List<Path> getBuiltinIdentitiesPaths(Path keysFolder, Collection<String> ids)
Copyright © 2008–2022 The Apache Software Foundation. All rights reserved.