com.jscape.inet.ssh.transport.kex
Class DHKeyExchange
java.lang.Object
com.jscape.inet.ssh.transport.kex.KeyExchange
com.jscape.inet.ssh.transport.kex.DHKeyExchange
public class DHKeyExchange
- extends KeyExchange
- Version:
- 1.0
- Author:
- Alex Usun
Field Summary |
static java.lang.String |
ALGORITHM
The SSH algorithm name |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ALGORITHM
public static final java.lang.String ALGORITHM
- The SSH algorithm name
- See Also:
- Constant Field Values
DHKeyExchange
public DHKeyExchange(Transport transport)
throws KeyExchangeException
- Throws:
KeyExchangeException
runClient
public KeyCreator runClient(boolean checkServerKeySignature,
KeyFormat format)
throws java.io.IOException
- Description copied from class:
KeyExchange
- Runs the key exchanging for the client.
- Specified by:
runClient
in class KeyExchange
- Parameters:
checkServerKeySignature
-
- Throws:
java.io.IOException
runServer
public KeyCreator runServer(java.security.KeyPair keyPair,
KeyFormat format)
throws java.io.IOException
- Description copied from class:
KeyExchange
- Runs the key exchanging for the server.
- Specified by:
runServer
in class KeyExchange
- Parameters:
keyPair
-
- Throws:
java.io.IOException
Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved