com.mindbright.ssh2
Class SSH2KEXDHGroup1SHA1

java.lang.Object
  extended by com.mindbright.ssh2.SSH2KeyExchanger
      extended by com.mindbright.ssh2.SSH2KEXDHGroupNumSHA1
          extended by com.mindbright.ssh2.SSH2KEXDHGroup1SHA1
Direct Known Subclasses:
SSH2KEXDHGroupXSHA1

public class SSH2KEXDHGroup1SHA1
extends SSH2KEXDHGroupNumSHA1

Implements diffie hellman key exchange using a predefined group. This algorithm is known as 'diffie-hellman-group1-sha1'


Field Summary
static java.math.BigInteger groupG
           
static java.math.BigInteger groupP
           
static java.lang.String name
           
 
Fields inherited from class com.mindbright.ssh2.SSH2KEXDHGroupNumSHA1
clientE, dhPrivateKey, dhPublicKey, exchangeHash_H, serverF, serverHostKey, serverKey, sha1, sharedSecret_K, transport
 
Constructor Summary
SSH2KEXDHGroup1SHA1()
           
 
Method Summary
 java.math.BigInteger getGroupG()
           
 java.math.BigInteger getGroupP()
           
 java.lang.String getName()
           
 
Methods inherited from class com.mindbright.ssh2.SSH2KEXDHGroupNumSHA1
computeExchangeHash_H, computeSharedSecret_K, createHash, generateDHKeyPair, getExchangeHash_H, getExchangeHashAlgorithm, getHostKeyAlgorithms, getSharedSecret_K, init, init, processKEXMethodPDU, sendDHINIT
 
Methods inherited from class com.mindbright.ssh2.SSH2KeyExchanger
getInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

groupP

public static final java.math.BigInteger groupP

groupG

public static final java.math.BigInteger groupG

name

public static final java.lang.String name
See Also:
Constant Field Values
Constructor Detail

SSH2KEXDHGroup1SHA1

public SSH2KEXDHGroup1SHA1()
Method Detail

getGroupP

public java.math.BigInteger getGroupP()
Specified by:
getGroupP in class SSH2KEXDHGroupNumSHA1

getGroupG

public java.math.BigInteger getGroupG()
Specified by:
getGroupG in class SSH2KEXDHGroupNumSHA1

getName

public java.lang.String getName()
Specified by:
getName in class SSH2KEXDHGroupNumSHA1