com.maverick.ssh.components
Class DiffieHellmanGroups
java.lang.Object
com.maverick.ssh.components.DiffieHellmanGroups
public class DiffieHellmanGroups
- extends Object
|
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 |
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
DiffieHellmanGroups
public DiffieHellmanGroups()
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.