Package net.schmizz.sshj
Class DefaultConfig
- java.lang.Object
-
- net.schmizz.sshj.ConfigImpl
-
- net.schmizz.sshj.DefaultConfig
-
- All Implemented Interfaces:
Config
- Direct Known Subclasses:
AndroidConfig
public class DefaultConfig extends ConfigImpl
AConfigthat is initialized as follows. Items marked with an asterisk are added to the config only if BouncyCastle is in the classpath. [1] It is worth noting that Sun's JRE does not have the unlimited cryptography extension enabled by default. This prevents using ciphers with strength greater than 128.
-
-
Constructor Summary
Constructors Constructor Description DefaultConfig()
-
Method Summary
Modifier and Type Method Description protected voidinitCipherFactories()protected voidinitCompressionFactories()protected voidinitFileKeyProviderFactories(boolean bouncyCastleRegistered)protected voidinitKeyAlgorithms()protected voidinitKeyExchangeFactories(boolean bouncyCastleRegistered)protected voidinitMACFactories()protected voidinitRandomFactory(boolean bouncyCastleRegistered)voidsetLoggerFactory(LoggerFactory loggerFactory)Sets the LoggerFactory to use.-
Methods inherited from class net.schmizz.sshj.ConfigImpl
getCipherFactories, getCompressionFactories, getFileKeyProviderFactories, getKeepAliveProvider, getKeyAlgorithms, getKeyExchangeFactories, getLoggerFactory, getMACFactories, getRandomFactory, getVersion, isVerifyHostKeyCertificates, isWaitForServerIdentBeforeSendingClientIdent, prioritizeSshRsaKeyAlgorithm, setCipherFactories, setCipherFactories, setCompressionFactories, setCompressionFactories, setFileKeyProviderFactories, setFileKeyProviderFactories, setKeepAliveProvider, setKeyAlgorithms, setKeyExchangeFactories, setKeyExchangeFactories, setMACFactories, setMACFactories, setRandomFactory, setVerifyHostKeyCertificates, setVersion, setWaitForServerIdentBeforeSendingClientIdent
-
-
-
-
Method Detail
-
setLoggerFactory
public void setLoggerFactory(LoggerFactory loggerFactory)
Description copied from interface:ConfigSets the LoggerFactory to use.- Specified by:
setLoggerFactoryin interfaceConfig- Overrides:
setLoggerFactoryin classConfigImpl
-
initKeyExchangeFactories
protected void initKeyExchangeFactories(boolean bouncyCastleRegistered)
-
initKeyAlgorithms
protected void initKeyAlgorithms()
-
initRandomFactory
protected void initRandomFactory(boolean bouncyCastleRegistered)
-
initFileKeyProviderFactories
protected void initFileKeyProviderFactories(boolean bouncyCastleRegistered)
-
initCipherFactories
protected void initCipherFactories()
-
initMACFactories
protected void initMACFactories()
-
initCompressionFactories
protected void initCompressionFactories()
-
-