com.sshtools.j2ssh.transport.kex
Class SshKeyExchangeFactory

java.lang.Object
  extended by com.sshtools.j2ssh.transport.kex.SshKeyExchangeFactory

public class SshKeyExchangeFactory
extends java.lang.Object

Version:
$Revision: 1.1 $
Author:
$author$

Field Summary
private static java.lang.String defaultAlgorithm
           
private static java.util.Map kexs
           
private static org.apache.commons.logging.Log log
           
 
Constructor Summary
protected SshKeyExchangeFactory()
          Creates a new SshKeyExchangeFactory object.
 
Method Summary
static java.lang.String getDefaultKeyExchange()
           
static java.util.List getSupportedKeyExchanges()
           
static void initialize()
           
static SshKeyExchange newInstance(java.lang.String methodName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

kexs

private static java.util.Map kexs

defaultAlgorithm

private static java.lang.String defaultAlgorithm

log

private static org.apache.commons.logging.Log log
Constructor Detail

SshKeyExchangeFactory

protected SshKeyExchangeFactory()
Creates a new SshKeyExchangeFactory object.

Method Detail

initialize

public static void initialize()

getDefaultKeyExchange

public static java.lang.String getDefaultKeyExchange()
Returns:

getSupportedKeyExchanges

public static java.util.List getSupportedKeyExchanges()
Returns:

newInstance

public static SshKeyExchange newInstance(java.lang.String methodName)
                                  throws AlgorithmNotSupportedException
Parameters:
methodName -
Returns:
Throws:
AlgorithmNotSupportedException