|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sshtools.j2ssh.transport.kex.SshKeyExchangeFactory
Creates new instances of SshKeyExchange objects. Will load additional key exchange methods from the SSH API configuration file ssh.xml as long as they follow the name@domain syntax.
Field Summary | |
static java.lang.String |
DIFFIE_HELLMAN_GROUP1_SHA1
The diffie-hellman-group1-sha1 method |
Constructor Summary | |
protected |
SshKeyExchangeFactory()
Constructor for the SshKeyExchangeFactory object |
Method Summary | |
static java.lang.String |
getDefaultKeyExchange()
Gets the default key exchange method name |
static java.util.List |
getSupportedKeyExchanges()
Gets the supported key exchange methods |
static SshKeyExchange |
newInstance(java.lang.String methodName)
Creates a new instance of the key exchange method specified |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String DIFFIE_HELLMAN_GROUP1_SHA1
Constructor Detail |
protected SshKeyExchangeFactory()
Method Detail |
public static java.lang.String getDefaultKeyExchange()
public static java.util.List getSupportedKeyExchanges()
public static SshKeyExchange newInstance(java.lang.String methodName) throws AlgorithmNotSupportedException
methodName
- The key exchange method
AlgorithmNotSupportedException
- Thrown if the method is not
supported
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |