Package org.apache.sshd.common.kex
Class AbstractKexFactoryManager
java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.common.util.closeable.IoBaseCloseable
org.apache.sshd.common.util.closeable.AbstractCloseable
org.apache.sshd.common.util.closeable.AbstractInnerCloseable
org.apache.sshd.common.kex.AbstractKexFactoryManager
- All Implemented Interfaces:
Closeable,AutoCloseable,Channel,Closeable,KexExtensionHandlerManager,KexFactoryManager,SignatureFactoriesHolder,SignatureFactoriesManager
- Direct Known Subclasses:
AbstractFactoryManager,SessionHelper
public abstract class AbstractKexFactoryManager
extends AbstractInnerCloseable
implements KexFactoryManager
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.sshd.common.util.closeable.AbstractCloseable
AbstractCloseable.State -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate List<NamedFactory<Cipher>> private List<NamedFactory<Compression>> private final KexFactoryManagerprivate KexExtensionHandlerprivate List<KeyExchangeFactory> private List<NamedFactory<Mac>> private List<NamedFactory<Signature>> Fields inherited from class org.apache.sshd.common.util.closeable.AbstractCloseable
closeFuture, futureLock, stateFields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
log -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedAbstractKexFactoryManager(KexFactoryManager delegate) -
Method Summary
Modifier and TypeMethodDescriptionRetrieve the list of named factories forCipher.Retrieve the list of named factories forCompression.protected KexFactoryManagerRetrieve the list of named factories forKeyExchange.Retrieve the list of named factories forMac.protected <V,C extends Collection<V>>
CresolveEffectiveFactories(C local, C inherited) protected <V> VresolveEffectiveProvider(Class<V> providerType, V local, V inherited) voidsetCipherFactories(List<NamedFactory<Cipher>> cipherFactories) voidsetCompressionFactories(List<NamedFactory<Compression>> compressionFactories) voidsetKexExtensionHandler(KexExtensionHandler kexExtensionHandler) voidsetKeyExchangeFactories(List<KeyExchangeFactory> keyExchangeFactories) voidsetMacFactories(List<NamedFactory<Mac>> macFactories) voidsetSignatureFactories(List<NamedFactory<Signature>> signatureFactories) Methods inherited from class org.apache.sshd.common.util.closeable.AbstractInnerCloseable
doCloseGracefully, doCloseImmediately, getInnerCloseableMethods inherited from class org.apache.sshd.common.util.closeable.AbstractCloseable
addCloseFutureListener, builder, close, getFutureLock, isClosed, isClosing, preClose, removeCloseFutureListenerMethods inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warnMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.sshd.common.kex.KexFactoryManager
getCipherFactoriesNameList, getCipherFactoriesNames, getCompressionFactoriesNameList, getCompressionFactoriesNames, getMacFactoriesNameList, getMacFactoriesNames, setCipherFactoriesNameList, setCipherFactoriesNames, setCipherFactoriesNames, setCompressionFactoriesNameList, setCompressionFactoriesNames, setCompressionFactoriesNames, setMacFactoriesNameList, setMacFactoriesNames, setMacFactoriesNamesMethods inherited from interface org.apache.sshd.common.signature.SignatureFactoriesHolder
getSignatureFactoriesNameList, getSignatureFactoriesNamesMethods inherited from interface org.apache.sshd.common.signature.SignatureFactoriesManager
setSignatureFactoriesNameList, setSignatureFactoriesNames, setSignatureFactoriesNames
-
Field Details
-
delegate
-
keyExchangeFactories
-
cipherFactories
-
compressionFactories
-
macFactories
-
signatureFactories
-
kexExtensionHandler
-
-
Constructor Details
-
AbstractKexFactoryManager
protected AbstractKexFactoryManager() -
AbstractKexFactoryManager
-
-
Method Details
-
getDelegate
-
getKeyExchangeFactories
Description copied from interface:KexFactoryManagerRetrieve the list of named factories forKeyExchange.- Specified by:
getKeyExchangeFactoriesin interfaceKexFactoryManager- Returns:
- a list of named
KeyExchangefactories, nevernull
-
setKeyExchangeFactories
- Specified by:
setKeyExchangeFactoriesin interfaceKexFactoryManager
-
getCipherFactories
Description copied from interface:KexFactoryManagerRetrieve the list of named factories forCipher.- Specified by:
getCipherFactoriesin interfaceKexFactoryManager- Returns:
- a list of named
Cipherfactories, nevernull
-
setCipherFactories
- Specified by:
setCipherFactoriesin interfaceKexFactoryManager
-
getCompressionFactories
Description copied from interface:KexFactoryManagerRetrieve the list of named factories forCompression.- Specified by:
getCompressionFactoriesin interfaceKexFactoryManager- Returns:
- a list of named
Compressionfactories, nevernull
-
setCompressionFactories
- Specified by:
setCompressionFactoriesin interfaceKexFactoryManager
-
getMacFactories
Description copied from interface:KexFactoryManagerRetrieve the list of named factories forMac.- Specified by:
getMacFactoriesin interfaceKexFactoryManager- Returns:
- a list of named
Macfactories, nevernull
-
setMacFactories
- Specified by:
setMacFactoriesin interfaceKexFactoryManager
-
getSignatureFactories
- Specified by:
getSignatureFactoriesin interfaceSignatureFactoriesHolder- Returns:
- The list of named
Signaturefactories
-
setSignatureFactories
- Specified by:
setSignatureFactoriesin interfaceSignatureFactoriesManager
-
getKexExtensionHandler
- Specified by:
getKexExtensionHandlerin interfaceKexExtensionHandlerManager
-
setKexExtensionHandler
- Specified by:
setKexExtensionHandlerin interfaceKexExtensionHandlerManager
-
resolveEffectiveFactories
-
resolveEffectiveProvider
-