public class BuiltinClientIdentitiesWatcher extends ClientIdentitiesWatcher
logECDSA_SHA2_NISTP256, ECDSA_SHA2_NISTP384, ECDSA_SHA2_NISTP521, EMPTY_KEYPAIR_PROVIDER, SSH_DSS, SSH_DSS_CERT, SSH_ECDSA_SHA2_NISTP256_CERT, SSH_ECDSA_SHA2_NISTP384_CERT, SSH_ECDSA_SHA2_NISTP521_CERT, SSH_ED25519, SSH_ED25519_CERT, SSH_RSA, SSH_RSA_CERTEMPTY_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, loadKeysdebug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warnclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetKeyTypes, loadKey, wrap, wrapexhaustCurrentIdentities, isEmpty, iterableOf, multiProvider, multiProvider, resolveKeyIdentityProvider, wrapKeyPairs, wrapKeyPairspublic 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)
KeyIdentityProviderloadKeys in interface KeyIdentityProviderloadKeys in class ClientIdentitiesWatchersession - 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 nullprotected boolean isSupported(SessionContext session, KeyPair kp)
public static List<Path> getDefaultBuiltinIdentitiesPaths(Path keysFolder)
public static List<Path> getBuiltinIdentitiesPaths(Path keysFolder, Collection<String> ids)
Copyright © 2018–2024 The Apache Software Foundation. All rights reserved.