Modifier and Type | Method and Description |
---|---|
java.util.List<NamedFactory<Channel>> |
SshAgentFactory.getChannelForwardingFactories(FactoryManager manager)
The channels are requested by the ssh server when forwarding a client request.
|
Modifier and Type | Class and Description |
---|---|
class |
ChannelAgentForwardingFactory |
Modifier and Type | Field and Description |
---|---|
static java.util.List<NamedFactory<Channel>> |
LocalAgentFactory.DEFAULT_FORWARDING_CHANNELS |
Modifier and Type | Method and Description |
---|---|
java.util.List<NamedFactory<Channel>> |
LocalAgentFactory.getChannelForwardingFactories(FactoryManager manager) |
java.util.List<NamedFactory<Channel>> |
ProxyAgentFactory.getChannelForwardingFactories(FactoryManager manager) |
Modifier and Type | Field and Description |
---|---|
static java.util.List<NamedFactory<Channel>> |
ClientBuilder.DEFAULT_CHANNEL_FACTORIES |
static java.util.List<NamedFactory<UserAuth>> |
SshClient.DEFAULT_USER_AUTH_FACTORIES
Default user authentication preferences if not set
|
static java.util.function.Function<DHFactory,NamedFactory<KeyExchange>> |
ClientBuilder.DH2KEX |
protected java.util.List<NamedFactory<UserAuth>> |
SshClient.userAuthFactories |
Modifier and Type | Method and Description |
---|---|
java.util.List<NamedFactory<UserAuth>> |
SshClient.getUserAuthFactories() |
java.util.List<NamedFactory<UserAuth>> |
ClientAuthenticationManager.getUserAuthFactories() |
static java.util.List<NamedFactory<KeyExchange>> |
ClientBuilder.setUpDefaultKeyExchanges(boolean ignoreUnsupported) |
Modifier and Type | Method and Description |
---|---|
void |
SshClient.setUserAuthFactories(java.util.List<NamedFactory<UserAuth>> userAuthFactories) |
void |
ClientAuthenticationManager.setUserAuthFactories(java.util.List<NamedFactory<UserAuth>> userAuthFactories) |
Modifier and Type | Field and Description |
---|---|
private java.util.List<NamedFactory<Signature>> |
UserAuthHostBased.factories |
private java.util.List<NamedFactory<Signature>> |
UserAuthHostBasedFactory.factories |
Modifier and Type | Method and Description |
---|---|
java.util.List<NamedFactory<Signature>> |
UserAuthHostBased.getSignatureFactories() |
java.util.List<NamedFactory<Signature>> |
UserAuthHostBasedFactory.getSignatureFactories() |
Modifier and Type | Method and Description |
---|---|
void |
UserAuthHostBased.setSignatureFactories(java.util.List<NamedFactory<Signature>> factories) |
void |
UserAuthHostBasedFactory.setSignatureFactories(java.util.List<NamedFactory<Signature>> factories) |
Modifier and Type | Field and Description |
---|---|
protected java.util.List<NamedFactory<Signature>> |
UserAuthPublicKey.factories |
private java.util.List<NamedFactory<Signature>> |
UserAuthPublicKeyFactory.factories |
private java.util.Collection<NamedFactory<Signature>> |
KeyPairIdentity.signatureFactories |
Modifier and Type | Method and Description |
---|---|
java.util.List<NamedFactory<Signature>> |
UserAuthPublicKey.getSignatureFactories() |
java.util.List<NamedFactory<Signature>> |
UserAuthPublicKeyFactory.getSignatureFactories() |
Modifier and Type | Method and Description |
---|---|
void |
UserAuthPublicKey.setSignatureFactories(java.util.List<NamedFactory<Signature>> factories) |
void |
UserAuthPublicKeyFactory.setSignatureFactories(java.util.List<NamedFactory<Signature>> factories) |
Constructor and Description |
---|
UserAuthPublicKey(java.util.List<NamedFactory<Signature>> factories) |
UserAuthPublicKeyFactory(java.util.List<NamedFactory<Signature>> factories) |
Modifier and Type | Class and Description |
---|---|
class |
KnownHostDigest
Available digesters for known hosts entries
|
Modifier and Type | Field and Description |
---|---|
static NamedFactory<Mac> |
KnownHostHashValue.DEFAULT_DIGEST |
private NamedFactory<Mac> |
KnownHostHashValue.digester |
Modifier and Type | Method and Description |
---|---|
NamedFactory<Mac> |
KnownHostHashValue.getDigester() |
Modifier and Type | Method and Description |
---|---|
void |
KnownHostHashValue.setDigester(NamedFactory<Mac> digester) |
Modifier and Type | Method and Description |
---|---|
protected NamedFactory<Mac> |
KnownHostsServerKeyVerifier.getHostValueDigester(ClientSession clientSession,
java.net.SocketAddress remoteAddress,
SshdSocketAddress hostIdentity)
Invoked by
KnownHostsServerKeyVerifier.prepareKnownHostEntry(ClientSession, SocketAddress, PublicKey)
in order to query whether to use a hashed value instead of a plain one for the
written host name/address - default returns null - i.e., no hashing |
Modifier and Type | Field and Description |
---|---|
private java.util.List<NamedFactory<UserAuth>> |
ClientUserAuthService.authFactories |
private java.util.List<NamedFactory<UserAuth>> |
AbstractClientSession.userAuthFactories |
Modifier and Type | Method and Description |
---|---|
java.util.List<NamedFactory<UserAuth>> |
AbstractClientSession.getUserAuthFactories() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractClientSession.setUserAuthFactories(java.util.List<NamedFactory<UserAuth>> userAuthFactories) |
Modifier and Type | Interface and Description |
---|---|
interface |
BuiltinFactory<T>
A named optional factory.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.List<NamedFactory<Channel>> |
BaseBuilder.channelFactories |
protected java.util.List<NamedFactory<Cipher>> |
BaseBuilder.cipherFactories |
protected java.util.List<NamedFactory<Compression>> |
BaseBuilder.compressionFactories |
protected java.util.List<NamedFactory<KeyExchange>> |
BaseBuilder.keyExchangeFactories |
protected java.util.List<NamedFactory<Mac>> |
BaseBuilder.macFactories |
protected java.util.List<NamedFactory<Signature>> |
BaseBuilder.signatureFactories |
Modifier and Type | Method and Description |
---|---|
static <T,E extends NamedFactory<T> & OptionalFeature> |
NamedFactory.setUpBuiltinFactories(boolean ignoreUnsupported,
java.util.Collection<? extends E> preferred) |
static <S extends OptionalFeature,T,E extends NamedFactory<T>> |
NamedFactory.setUpTransformedFactories(boolean ignoreUnsupported,
java.util.Collection<? extends S> preferred,
java.util.function.Function<? super S,? extends E> xform) |
Modifier and Type | Method and Description |
---|---|
java.util.List<NamedFactory<Channel>> |
FactoryManager.getChannelFactories()
Retrieve the list of named factories for
Channel objects. |
static <T,E extends NamedFactory<T> & OptionalFeature> |
NamedFactory.setUpBuiltinFactories(boolean ignoreUnsupported,
java.util.Collection<? extends E> preferred) |
static java.util.List<NamedFactory<Cipher>> |
BaseBuilder.setUpDefaultCiphers(boolean ignoreUnsupported) |
static java.util.List<NamedFactory<Mac>> |
BaseBuilder.setUpDefaultMacs(boolean ignoreUnsupported) |
static java.util.List<NamedFactory<Signature>> |
BaseBuilder.setUpDefaultSignatures(boolean ignoreUnsupported) |
static <T,E extends BuiltinFactory<T>> |
BuiltinFactory.setUpFactories(boolean ignoreUnsupported,
java.util.Collection<? extends E> preferred) |
static <S extends OptionalFeature,T,E extends NamedFactory<T>> |
NamedFactory.setUpTransformedFactories(boolean ignoreUnsupported,
java.util.Collection<? extends S> preferred,
java.util.function.Function<? super S,? extends E> xform) |
Modifier and Type | Method and Description |
---|---|
S |
BaseBuilder.channelFactories(java.util.List<NamedFactory<Channel>> channelFactories) |
S |
BaseBuilder.cipherFactories(java.util.List<NamedFactory<Cipher>> cipherFactories) |
S |
BaseBuilder.compressionFactories(java.util.List<NamedFactory<Compression>> compressionFactories) |
static <T> T |
NamedFactory.create(java.util.Collection<? extends NamedFactory<? extends T>> factories,
java.lang.String name)
Create an instance of the specified name by looking up the needed factory
in the list.
|
S |
BaseBuilder.keyExchangeFactories(java.util.List<NamedFactory<KeyExchange>> keyExchangeFactories) |
S |
BaseBuilder.macFactories(java.util.List<NamedFactory<Mac>> macFactories) |
S |
BaseBuilder.signatureFactories(java.util.List<NamedFactory<Signature>> signatureFactories) |
Modifier and Type | Interface and Description |
---|---|
interface |
UserAuthMethodFactory<M>
Represents a user authentication method
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractUserAuthMethodFactory<M> |
Modifier and Type | Interface and Description |
---|---|
interface |
ChannelFactory |
Modifier and Type | Interface and Description |
---|---|
interface |
CipherFactory |
Modifier and Type | Class and Description |
---|---|
class |
BuiltinCiphers
Provides easy access to the currently implemented ciphers
|
Modifier and Type | Method and Description |
---|---|
static NamedFactory<Cipher> |
BuiltinCiphers.unregisterExtension(java.lang.String name)
Unregisters specified extension
|
Modifier and Type | Method and Description |
---|---|
static BuiltinCiphers |
BuiltinCiphers.fromFactory(NamedFactory<Cipher> factory) |
Modifier and Type | Interface and Description |
---|---|
interface |
CompressionFactory |
Modifier and Type | Class and Description |
---|---|
class |
BuiltinCompressions |
Modifier and Type | Class and Description |
---|---|
class |
NamedFactoriesListParseResult<T,F extends NamedFactory<T>>
Holds the result of parsing a list of
NamedFactory ies |
Modifier and Type | Class and Description |
---|---|
class |
CompressionConfigValue
Provides a "bridge" between the configuration values and the
actual
NamedFactory for the Compression . |
Modifier and Type | Method and Description |
---|---|
static <M extends AbstractFactoryManager> |
SshConfigFileReader.configureKeyExchanges(M manager,
PropertyResolver props,
boolean lenient,
java.util.function.Function<? super DHFactory,? extends NamedFactory<KeyExchange>> xformer,
boolean ignoreUnsupported) |
static <M extends AbstractFactoryManager> |
SshConfigFileReader.configureKeyExchanges(M manager,
java.lang.String value,
boolean lenient,
java.util.function.Function<? super DHFactory,? extends NamedFactory<KeyExchange>> xformer,
boolean ignoreUnsupported) |
Modifier and Type | Interface and Description |
---|---|
interface |
DigestFactory |
Modifier and Type | Class and Description |
---|---|
class |
BuiltinDigests
Provides easy access to the currently implemented digests
|
Modifier and Type | Method and Description |
---|---|
static BuiltinDigests |
BuiltinDigests.fromFactory(NamedFactory<? extends Digest> factory) |
Modifier and Type | Field and Description |
---|---|
protected java.util.List<NamedFactory<Channel>> |
AbstractFactoryManager.channelFactories |
Modifier and Type | Method and Description |
---|---|
java.util.List<NamedFactory<Channel>> |
AbstractFactoryManager.getChannelFactories() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractFactoryManager.setChannelFactories(java.util.List<NamedFactory<Channel>> channelFactories) |
Modifier and Type | Class and Description |
---|---|
class |
BuiltinIoServiceFactoryFactories |
Modifier and Type | Interface and Description |
---|---|
interface |
KeyExchangeFactory |
Modifier and Type | Field and Description |
---|---|
private java.util.List<NamedFactory<Cipher>> |
AbstractKexFactoryManager.cipherFactories |
private java.util.List<NamedFactory<Compression>> |
AbstractKexFactoryManager.compressionFactories |
private java.util.List<NamedFactory<KeyExchange>> |
AbstractKexFactoryManager.keyExchangeFactories |
private java.util.List<NamedFactory<Mac>> |
AbstractKexFactoryManager.macFactories |
private java.util.List<NamedFactory<Signature>> |
AbstractKexFactoryManager.signatureFactories |
Modifier and Type | Method and Description |
---|---|
java.util.List<NamedFactory<Cipher>> |
KexFactoryManager.getCipherFactories()
Retrieve the list of named factories for
Cipher . |
java.util.List<NamedFactory<Cipher>> |
AbstractKexFactoryManager.getCipherFactories() |
java.util.List<NamedFactory<Compression>> |
KexFactoryManager.getCompressionFactories()
Retrieve the list of named factories for
Compression . |
java.util.List<NamedFactory<Compression>> |
AbstractKexFactoryManager.getCompressionFactories() |
java.util.List<NamedFactory<KeyExchange>> |
KexFactoryManager.getKeyExchangeFactories()
Retrieve the list of named factories for
KeyExchange . |
java.util.List<NamedFactory<KeyExchange>> |
AbstractKexFactoryManager.getKeyExchangeFactories() |
java.util.List<NamedFactory<Mac>> |
KexFactoryManager.getMacFactories()
Retrieve the list of named factories for
Mac . |
java.util.List<NamedFactory<Mac>> |
AbstractKexFactoryManager.getMacFactories() |
java.util.List<NamedFactory<Signature>> |
AbstractKexFactoryManager.getSignatureFactories() |
protected <V> java.util.List<NamedFactory<V>> |
AbstractKexFactoryManager.resolveEffectiveFactories(java.lang.Class<V> factoryType,
java.util.List<NamedFactory<V>> local,
java.util.List<NamedFactory<V>> inherited) |
Modifier and Type | Method and Description |
---|---|
protected <V> java.util.List<NamedFactory<V>> |
AbstractKexFactoryManager.resolveEffectiveFactories(java.lang.Class<V> factoryType,
java.util.List<NamedFactory<V>> local,
java.util.List<NamedFactory<V>> inherited) |
protected <V> java.util.List<NamedFactory<V>> |
AbstractKexFactoryManager.resolveEffectiveFactories(java.lang.Class<V> factoryType,
java.util.List<NamedFactory<V>> local,
java.util.List<NamedFactory<V>> inherited) |
void |
KexFactoryManager.setCipherFactories(java.util.List<NamedFactory<Cipher>> cipherFactories) |
void |
AbstractKexFactoryManager.setCipherFactories(java.util.List<NamedFactory<Cipher>> cipherFactories) |
void |
KexFactoryManager.setCompressionFactories(java.util.List<NamedFactory<Compression>> compressionFactories) |
void |
AbstractKexFactoryManager.setCompressionFactories(java.util.List<NamedFactory<Compression>> compressionFactories) |
void |
KexFactoryManager.setKeyExchangeFactories(java.util.List<NamedFactory<KeyExchange>> keyExchangeFactories) |
void |
AbstractKexFactoryManager.setKeyExchangeFactories(java.util.List<NamedFactory<KeyExchange>> keyExchangeFactories) |
void |
KexFactoryManager.setMacFactories(java.util.List<NamedFactory<Mac>> macFactories) |
void |
AbstractKexFactoryManager.setMacFactories(java.util.List<NamedFactory<Mac>> macFactories) |
void |
AbstractKexFactoryManager.setSignatureFactories(java.util.List<NamedFactory<Signature>> signatureFactories) |
Modifier and Type | Interface and Description |
---|---|
interface |
MacFactory |
Modifier and Type | Class and Description |
---|---|
class |
BuiltinMacs
Provides easy access to the currently implemented macs
|
Modifier and Type | Method and Description |
---|---|
static BuiltinMacs |
BuiltinMacs.fromFactory(NamedFactory<Mac> factory) |
Modifier and Type | Interface and Description |
---|---|
interface |
RandomFactory |
Modifier and Type | Class and Description |
---|---|
class |
AbstractRandomFactory |
class |
JceRandomFactory
Named factory for the JCE
Random |
class |
SingletonRandomFactory
A random factory wrapper that uses a single random instance.
|
Modifier and Type | Field and Description |
---|---|
private NamedFactory<Random> |
SingletonRandomFactory.factory |
Constructor and Description |
---|
SingletonRandomFactory(NamedFactory<Random> factory) |
Modifier and Type | Interface and Description |
---|---|
interface |
SignatureFactory |
Modifier and Type | Class and Description |
---|---|
class |
BuiltinSignatures
Provides easy access to the currently implemented signatures
|
Modifier and Type | Method and Description |
---|---|
java.util.List<NamedFactory<Signature>> |
SignatureFactoriesManager.getSignatureFactories() |
static java.util.List<NamedFactory<Signature>> |
SignatureFactoriesManager.getSignatureFactories(SignatureFactoriesManager manager) |
static java.util.List<NamedFactory<Signature>> |
SignatureFactoriesManager.resolveSignatureFactories(SignatureFactoriesManager primary,
SignatureFactoriesManager secondary)
Attempts to use the primary manager's signature factories if not
null /empty,
otherwise uses the secondary ones (regardless of whether there are any...) |
Modifier and Type | Method and Description |
---|---|
static BuiltinSignatures |
BuiltinSignatures.fromFactory(NamedFactory<Signature> factory) |
Modifier and Type | Method and Description |
---|---|
void |
SignatureFactoriesManager.setSignatureFactories(java.util.List<NamedFactory<Signature>> factories) |
Modifier and Type | Class and Description |
---|---|
class |
BouncyCastleRandomFactory
Named factory for the BouncyCastle
Random |
Modifier and Type | Field and Description |
---|---|
static java.util.List<NamedFactory<Channel>> |
ServerBuilder.DEFAULT_CHANNEL_FACTORIES |
static java.util.function.Function<DHFactory,NamedFactory<KeyExchange>> |
ServerBuilder.DH2KEX |
private java.util.List<NamedFactory<Command>> |
SshServer.subsystemFactories |
private java.util.List<NamedFactory<UserAuth>> |
SshServer.userAuthFactories |
Modifier and Type | Method and Description |
---|---|
java.util.List<NamedFactory<Command>> |
ServerFactoryManager.getSubsystemFactories()
Retrieve the list of named factories for
CommandFactory.Command to
be used to create subsystems. |
java.util.List<NamedFactory<Command>> |
SshServer.getSubsystemFactories() |
java.util.List<NamedFactory<UserAuth>> |
ServerAuthenticationManager.getUserAuthFactories()
Retrieve the list of named factories for
UserAuth objects. |
java.util.List<NamedFactory<UserAuth>> |
SshServer.getUserAuthFactories() |
static java.util.List<NamedFactory<UserAuth>> |
ServerAuthenticationManager.resolveUserAuthFactories(ServerAuthenticationManager manager)
If user authentication factories already set, then simply returns them.
|
static java.util.List<NamedFactory<UserAuth>> |
ServerAuthenticationManager.resolveUserAuthFactories(ServerAuthenticationManager manager,
java.util.List<NamedFactory<UserAuth>> userFactories)
If user authentication factories already set, then simply returns them.
|
static java.util.List<NamedFactory<KeyExchange>> |
ServerBuilder.setUpDefaultKeyExchanges(boolean ignoreUnsupported) |
Modifier and Type | Method and Description |
---|---|
static java.util.List<NamedFactory<UserAuth>> |
ServerAuthenticationManager.resolveUserAuthFactories(ServerAuthenticationManager manager,
java.util.List<NamedFactory<UserAuth>> userFactories)
If user authentication factories already set, then simply returns them.
|
void |
SshServer.setSubsystemFactories(java.util.List<NamedFactory<Command>> subsystemFactories) |
void |
ServerAuthenticationManager.setUserAuthFactories(java.util.List<NamedFactory<UserAuth>> userAuthFactories) |
void |
SshServer.setUserAuthFactories(java.util.List<NamedFactory<UserAuth>> userAuthFactories) |
Modifier and Type | Interface and Description |
---|---|
interface |
UserAuthFactory |
Modifier and Type | Class and Description |
---|---|
class |
AbstractUserAuthFactory |
class |
BuiltinUserAuthFactories
Provides a centralized location for the default built-in authentication factories
|
class |
UserAuthNoneFactory |
Modifier and Type | Class and Description |
---|---|
class |
UserAuthGSSFactory
Factory class.
|
Modifier and Type | Class and Description |
---|---|
class |
UserAuthHostBasedFactory |
Modifier and Type | Field and Description |
---|---|
private java.util.List<NamedFactory<Signature>> |
UserAuthHostBased.factories |
private java.util.List<NamedFactory<Signature>> |
UserAuthHostBasedFactory.factories |
Modifier and Type | Method and Description |
---|---|
java.util.List<NamedFactory<Signature>> |
UserAuthHostBased.getSignatureFactories() |
java.util.List<NamedFactory<Signature>> |
UserAuthHostBasedFactory.getSignatureFactories() |
Modifier and Type | Method and Description |
---|---|
void |
UserAuthHostBased.setSignatureFactories(java.util.List<NamedFactory<Signature>> factories) |
void |
UserAuthHostBasedFactory.setSignatureFactories(java.util.List<NamedFactory<Signature>> factories) |
Constructor and Description |
---|
UserAuthHostBased(java.util.List<NamedFactory<Signature>> factories) |
UserAuthHostBasedFactory(java.util.List<NamedFactory<Signature>> factories) |
Modifier and Type | Class and Description |
---|---|
class |
UserAuthKeyboardInteractiveFactory |
Modifier and Type | Class and Description |
---|---|
class |
UserAuthPasswordFactory |
Modifier and Type | Class and Description |
---|---|
class |
UserAuthPublicKeyFactory |
Modifier and Type | Field and Description |
---|---|
private java.util.List<NamedFactory<Signature>> |
UserAuthPublicKey.factories |
private java.util.List<NamedFactory<Signature>> |
UserAuthPublicKeyFactory.factories |
Modifier and Type | Method and Description |
---|---|
java.util.List<NamedFactory<Signature>> |
UserAuthPublicKey.getSignatureFactories() |
java.util.List<NamedFactory<Signature>> |
UserAuthPublicKeyFactory.getSignatureFactories() |
Modifier and Type | Method and Description |
---|---|
void |
UserAuthPublicKey.setSignatureFactories(java.util.List<NamedFactory<Signature>> factories) |
void |
UserAuthPublicKeyFactory.setSignatureFactories(java.util.List<NamedFactory<Signature>> factories) |
Constructor and Description |
---|
UserAuthPublicKey(java.util.List<NamedFactory<Signature>> factories) |
UserAuthPublicKeyFactory(java.util.List<NamedFactory<Signature>> factories) |
Modifier and Type | Class and Description |
---|---|
class |
ChannelSessionFactory |
Modifier and Type | Class and Description |
---|---|
class |
DirectTcpipFactory |
class |
ForwardedTcpipFactory |
static class |
TcpipServerChannel.TcpipFactory |
Modifier and Type | Field and Description |
---|---|
private java.util.List<NamedFactory<Signature>> |
OpenSshHostKeysHandler.factories |
Modifier and Type | Method and Description |
---|---|
java.util.List<NamedFactory<Signature>> |
OpenSshHostKeysHandler.getSignatureFactories() |
Modifier and Type | Method and Description |
---|---|
void |
OpenSshHostKeysHandler.setSignatureFactories(java.util.List<NamedFactory<Signature>> factories) |
Modifier and Type | Field and Description |
---|---|
private java.util.List<NamedFactory<UserAuth>> |
AbstractServerSession.userAuthFactories |
private java.util.List<NamedFactory<UserAuth>> |
ServerUserAuthService.userAuthFactories |
Modifier and Type | Method and Description |
---|---|
java.util.List<NamedFactory<UserAuth>> |
AbstractServerSession.getUserAuthFactories() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractServerSession.setUserAuthFactories(java.util.List<NamedFactory<UserAuth>> userAuthFactories) |
Modifier and Type | Interface and Description |
---|---|
interface |
SubsystemFactory |
Modifier and Type | Class and Description |
---|---|
class |
SftpSubsystemFactory |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractSftpSubsystemHelper.doCheckFileHash(int id,
java.nio.file.Path file,
NamedFactory<? extends Digest> factory,
long startOffset,
long length,
int blockSize,
Buffer buffer) |