com.maverick.ssh.components
Class DiffieHellmanGroups

java.lang.Object
  extended by com.maverick.ssh.components.DiffieHellmanGroups

public class DiffieHellmanGroups
extends Object


Field Summary
static BigInteger group1
           
static BigInteger group14
           
static BigInteger group15
           
static BigInteger group16
           
static BigInteger group17
           
static BigInteger group18
           
static BigInteger group5
           
 
Constructor Summary
DiffieHellmanGroups()
           
 
Method Summary
static BigInteger getSafePrime(com.maverick.util.UnsignedInteger32 maximumSize)
          get the biggest safe prime from the list that is <= maximumSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

group1

public static final BigInteger group1

group5

public static final BigInteger group5

group14

public static final BigInteger group14

group15

public static final BigInteger group15

group16

public static final BigInteger group16

group17

public static final BigInteger group17

group18

public static final BigInteger group18
Constructor Detail

DiffieHellmanGroups

public DiffieHellmanGroups()
Method Detail

getSafePrime

public static BigInteger getSafePrime(com.maverick.util.UnsignedInteger32 maximumSize)
get the biggest safe prime from the list that is <= maximumSize

Parameters:
maximumSize -
Returns:
BigInteger


Copyright © 2012. All Rights Reserved.