Package org.apache.sshd.common.kex
Interface KeyExchangeFactory
-
- All Superinterfaces:
NamedResource
public interface KeyExchangeFactory extends NamedResource
- Author:
- Apache MINA SSHD Project
-
-
Field Summary
-
Fields inherited from interface org.apache.sshd.common.NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTOR
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KeyExchangecreateKeyExchange(Session session)-
Methods inherited from interface org.apache.sshd.common.NamedResource
getName
-
-
-
-
Method Detail
-
createKeyExchange
KeyExchange createKeyExchange(Session session) throws Exception
- Parameters:
session- TheSessionfor which the factory is invoked- Returns:
- The
KeyExchangeinstance to be used - Throws:
Exception- If failed to create
-
-