public interface Config
KeyExchange, Cipher,
Compression, MAC, Signature, Random, and FileKeyProvider.| Modifier and Type | Method and Description |
|---|---|
java.util.List<Factory.Named<Cipher>> |
getCipherFactories()
Retrieve the list of named factories for
Cipher. |
java.util.List<Factory.Named<Compression>> |
getCompressionFactories()
Retrieve the list of named factories for
Compression. |
java.util.List<Factory.Named<FileKeyProvider>> |
getFileKeyProviderFactories()
Retrieve the list of named factories for
FileKeyProvider. |
KeepAliveProvider |
getKeepAliveProvider() |
java.util.List<Factory.Named<KeyExchange>> |
getKeyExchangeFactories()
Retrieve the list of named factories for
KeyExchange. |
LoggerFactory |
getLoggerFactory() |
java.util.List<Factory.Named<MAC>> |
getMACFactories()
Retrieve the list of named factories for
MAC. |
Factory<Random> |
getRandomFactory()
Retrieve the
Random factory. |
java.util.List<Factory.Named<Signature>> |
getSignatureFactories()
Retrieve the list of named factories for
Signature |
java.lang.String |
getVersion()
Returns the software version information for identification during SSH connection initialization.
|
boolean |
isWaitForServerIdentBeforeSendingClientIdent()
Gets whether the client should first wait for a received server ident, before sending the client ident.
|
void |
setCipherFactories(java.util.List<Factory.Named<Cipher>> cipherFactories)
Set the named factories for
Cipher. |
void |
setCompressionFactories(java.util.List<Factory.Named<Compression>> compressionFactories)
Set the named factories for
Compression. |
void |
setFileKeyProviderFactories(java.util.List<Factory.Named<FileKeyProvider>> fileKeyProviderFactories)
Set the named factories for
FileKeyProvider. |
void |
setKeepAliveProvider(KeepAliveProvider keepAliveProvider)
Set the provider that provides the keep-alive implementation.
|
void |
setKeyExchangeFactories(java.util.List<Factory.Named<KeyExchange>> kexFactories)
Set the named factories for
KeyExchange. |
void |
setLoggerFactory(LoggerFactory loggerFactory)
Sets the LoggerFactory to use.
|
void |
setMACFactories(java.util.List<Factory.Named<MAC>> macFactories)
Set the named factories for
MAC. |
void |
setRandomFactory(Factory<Random> randomFactory)
Set the factory for
Random. |
void |
setSignatureFactories(java.util.List<Factory.Named<Signature>> signatureFactories)
Set the named factories for
Signature. |
void |
setVersion(java.lang.String version)
Set the software version information for identification during SSH connection initialization.
|
void |
setWaitForServerIdentBeforeSendingClientIdent(boolean waitForServerIdentBeforeSendingClientIdent)
Sets whether the SSH client should wait for a received server ident, before sending the client ident.
|
java.util.List<Factory.Named<Cipher>> getCipherFactories()
Cipher.Cipher factoriesjava.util.List<Factory.Named<Compression>> getCompressionFactories()
Compression.Compression factoriesjava.util.List<Factory.Named<FileKeyProvider>> getFileKeyProviderFactories()
FileKeyProvider.FileKeyProvider factoriesjava.util.List<Factory.Named<KeyExchange>> getKeyExchangeFactories()
KeyExchange.KeyExchange factoriesjava.util.List<Factory.Named<MAC>> getMACFactories()
MAC.MAC factoriesFactory<Random> getRandomFactory()
Random factory.Random factoryjava.util.List<Factory.Named<Signature>> getSignatureFactories()
SignatureSignature factoriesjava.lang.String getVersion()
"NET_3_0".void setCipherFactories(java.util.List<Factory.Named<Cipher>> cipherFactories)
Cipher.cipherFactories - a list of named factoriesvoid setCompressionFactories(java.util.List<Factory.Named<Compression>> compressionFactories)
Compression.compressionFactories - a list of named factoriesvoid setFileKeyProviderFactories(java.util.List<Factory.Named<FileKeyProvider>> fileKeyProviderFactories)
FileKeyProvider.fileKeyProviderFactories - a list of named factoriesvoid setKeyExchangeFactories(java.util.List<Factory.Named<KeyExchange>> kexFactories)
KeyExchange.kexFactories - a list of named factoriesvoid setMACFactories(java.util.List<Factory.Named<MAC>> macFactories)
MAC.macFactories - a list of named factoriesvoid setRandomFactory(Factory<Random> randomFactory)
Random.randomFactory - the factoryvoid setSignatureFactories(java.util.List<Factory.Named<Signature>> signatureFactories)
Signature.signatureFactories - a list of named factoriesvoid setVersion(java.lang.String version)
"SSHJ_0_1".version - software version infoKeepAliveProvider getKeepAliveProvider()
void setKeepAliveProvider(KeepAliveProvider keepAliveProvider)
keepAliveProvider - keep-alive providerboolean isWaitForServerIdentBeforeSendingClientIdent()
void setWaitForServerIdentBeforeSendingClientIdent(boolean waitForServerIdentBeforeSendingClientIdent)
waitForServerIdentBeforeSendingClientIdent - Whether to wait for the server ident.void setLoggerFactory(LoggerFactory loggerFactory)
LoggerFactory getLoggerFactory()