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, org.apache.sshd.common.Closeable, KexExtensionHandlerManager, KexFactoryManager, org.apache.sshd.common.signature.SignatureFactoriesHolder, org.apache.sshd.common.signature.SignatureFactoriesManager
Direct Known Subclasses:
AbstractFactoryManager, SessionHelper

public abstract class AbstractKexFactoryManager extends org.apache.sshd.common.util.closeable.AbstractInnerCloseable implements KexFactoryManager
Author:
Apache MINA SSHD Project
  • Constructor Details

    • AbstractKexFactoryManager

      protected AbstractKexFactoryManager()
    • AbstractKexFactoryManager

      protected AbstractKexFactoryManager(KexFactoryManager delegate)
  • Method Details

    • getDelegate

      protected KexFactoryManager getDelegate()
    • getKeyExchangeFactories

      public List<KeyExchangeFactory> getKeyExchangeFactories()
      Description copied from interface: KexFactoryManager
      Retrieve the list of named factories for KeyExchange.
      Specified by:
      getKeyExchangeFactories in interface KexFactoryManager
      Returns:
      a list of named KeyExchange factories, never null
    • setKeyExchangeFactories

      public void setKeyExchangeFactories(List<KeyExchangeFactory> keyExchangeFactories)
      Specified by:
      setKeyExchangeFactories in interface KexFactoryManager
    • getCipherFactories

      public List<org.apache.sshd.common.NamedFactory<org.apache.sshd.common.cipher.Cipher>> getCipherFactories()
      Description copied from interface: KexFactoryManager
      Retrieve the list of named factories for Cipher.
      Specified by:
      getCipherFactories in interface KexFactoryManager
      Returns:
      a list of named Cipher factories, never null
    • setCipherFactories

      public void setCipherFactories(List<org.apache.sshd.common.NamedFactory<org.apache.sshd.common.cipher.Cipher>> cipherFactories)
      Specified by:
      setCipherFactories in interface KexFactoryManager
    • getCompressionFactories

      public List<org.apache.sshd.common.NamedFactory<org.apache.sshd.common.compression.Compression>> getCompressionFactories()
      Description copied from interface: KexFactoryManager
      Retrieve the list of named factories for Compression.
      Specified by:
      getCompressionFactories in interface KexFactoryManager
      Returns:
      a list of named Compression factories, never null
    • setCompressionFactories

      public void setCompressionFactories(List<org.apache.sshd.common.NamedFactory<org.apache.sshd.common.compression.Compression>> compressionFactories)
      Specified by:
      setCompressionFactories in interface KexFactoryManager
    • getMacFactories

      public List<org.apache.sshd.common.NamedFactory<org.apache.sshd.common.mac.Mac>> getMacFactories()
      Description copied from interface: KexFactoryManager
      Retrieve the list of named factories for Mac.
      Specified by:
      getMacFactories in interface KexFactoryManager
      Returns:
      a list of named Mac factories, never null
    • setMacFactories

      public void setMacFactories(List<org.apache.sshd.common.NamedFactory<org.apache.sshd.common.mac.Mac>> macFactories)
      Specified by:
      setMacFactories in interface KexFactoryManager
    • getSignatureFactories

      public List<org.apache.sshd.common.NamedFactory<org.apache.sshd.common.signature.Signature>> getSignatureFactories()
      Specified by:
      getSignatureFactories in interface org.apache.sshd.common.signature.SignatureFactoriesHolder
    • setSignatureFactories

      public void setSignatureFactories(List<org.apache.sshd.common.NamedFactory<org.apache.sshd.common.signature.Signature>> signatureFactories)
      Specified by:
      setSignatureFactories in interface org.apache.sshd.common.signature.SignatureFactoriesManager
    • getKexExtensionHandler

      public KexExtensionHandler getKexExtensionHandler()
      Specified by:
      getKexExtensionHandler in interface KexExtensionHandlerManager
    • setKexExtensionHandler

      public void setKexExtensionHandler(KexExtensionHandler kexExtensionHandler)
      Specified by:
      setKexExtensionHandler in interface KexExtensionHandlerManager
    • resolveEffectiveFactories

      protected <V, C extends Collection<V>> C resolveEffectiveFactories(C local, C inherited)
    • resolveEffectiveProvider

      protected <V> V resolveEffectiveProvider(Class<V> providerType, V local, V inherited)