public class TrileadSshProvider extends AbstractProvider
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CFG_SINGLE_X11_CONNECTION
Single X11 connection
|
| Constructor and Description |
|---|
TrileadSshProvider()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
SshHostKeyManager |
createHostKeyManager(SshConfiguration configuration)
Create a
SshHostKeyManager that may be used to list, add and remove
valid host keys. |
protected SshClient |
doCreateClient(SshConfiguration configuration) |
void |
doSupportsConfiguration(SshConfiguration configuration) |
java.util.List |
getCapabilities()
Get a list of the capabilities of this implementation (
Capability
objects) |
java.util.List |
getSupportedCiphers(int protocolVersion)
Get a list of supported ciphers.
|
java.util.List |
getSupportedCompression()
Get a list of supported compression types.
|
java.util.List |
getSupportedKeyExchange()
Get a list of supported key exchange algorithms.
|
java.util.List |
getSupportedMAC()
Get a list of supported MAC types.
|
java.util.List |
getSupportedPublicKey()
Get a list of supported public key algorithms.
|
void |
seed(long seed)
Seed the random number generator.
|
connectToLocalAgent, connectToLocalAgent, connectToLocalAgent, createClient, createIdentityManager, getName, setSupportsDefaultConfiguration, supportsConfigurationpublic static final java.lang.String CFG_SINGLE_X11_CONNECTION
protected SshClient doCreateClient(SshConfiguration configuration)
doCreateClient in class AbstractProviderpublic void doSupportsConfiguration(SshConfiguration configuration)
doSupportsConfiguration in class AbstractProviderpublic java.util.List getCapabilities()
SshProviderCapability
objects)Capabilitypublic java.util.List getSupportedCiphers(int protocolVersion)
SshProviderString of the
cipher name. If SshConfiguration.SSH1_OR_SSH2 is specified, the list
will contain cipher names for both version (in practice, SSH1 only supported
one cipher).
If the provider does not support SSH1, it should throw an
UnsupportedOperationException if SshConfiguration.SSH1_ONLY
is requested. The same applies for SSH2
protocolVersion - version of protocolpublic SshHostKeyManager createHostKeyManager(SshConfiguration configuration) throws SshException
SshProviderSshHostKeyManager that may be used to list, add and remove
valid host keys. An implementation is not required to provide this
functionality, but vendors do, so this interface provides a common way to
access them.createHostKeyManager in interface SshProvidercreateHostKeyManager in class AbstractProviderconfiguration - configurationSshExceptionpublic java.util.List getSupportedCompression()
SshProviderString of the compression type name.
NOTE: Only applicable to SSH2
public java.util.List getSupportedMAC()
SshProviderString of
the MAC type name.
NOTE: Only applicable to SSH2
public java.util.List getSupportedKeyExchange()
SshProviderString of the key exchange name.
NOTE: Only applicable to SSH2
public java.util.List getSupportedPublicKey()
SshProviderString of the public key name.
NOTE: Only applicable to SSH2
public void seed(long seed)
SshProviderseed - seedCopyright © 2018. All rights reserved.