Secure iNet Factory

com.jscape.inet.ssh.transport.kex
Class DHKeyExchange

java.lang.Object
  extended by com.jscape.inet.ssh.transport.kex.KeyExchange
      extended by 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
 
Constructor Summary
DHKeyExchange(Transport transport)
           
 
Method Summary
 KeyCreator runClient(boolean checkServerKeySignature, KeyFormat format)
          Runs the key exchanging for the client.
 KeyCreator runServer(java.security.KeyPair keyPair, KeyFormat format)
          Runs the key exchanging for the server.
 
Methods inherited from class com.jscape.inet.ssh.transport.kex.KeyExchange
getAlgorithm
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALGORITHM

public static final java.lang.String ALGORITHM
The SSH algorithm name

See Also:
Constant Field Values
Constructor Detail

DHKeyExchange

public DHKeyExchange(Transport transport)
              throws KeyExchangeException
Throws:
KeyExchangeException
Method Detail

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

Secure iNet Factory

Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved