com.maverick.ssh.components
Class DiffieHellmanGroups
java.lang.Object
com.maverick.ssh.components.DiffieHellmanGroups
public class DiffieHellmanGroups
- extends java.lang.Object
|
Field Summary |
static java.math.BigInteger |
group1
|
static java.math.BigInteger |
group14
|
static java.math.BigInteger |
group15
|
static java.math.BigInteger |
group16
|
static java.math.BigInteger |
group17
|
static java.math.BigInteger |
group18
|
static java.math.BigInteger |
group5
|
|
Method Summary |
static java.math.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 java.math.BigInteger group1
group5
public static final java.math.BigInteger group5
group14
public static final java.math.BigInteger group14
group15
public static final java.math.BigInteger group15
group16
public static final java.math.BigInteger group16
group17
public static final java.math.BigInteger group17
group18
public static final java.math.BigInteger group18
DiffieHellmanGroups
public DiffieHellmanGroups()
getSafePrime
public static java.math.BigInteger getSafePrime(com.maverick.util.UnsignedInteger32 maximumSize)
- get the biggest safe prime from the list that is <= maximumSize
- Parameters:
maximumSize -
- Returns:
- BigInteger
Copyright © 2003-2008 SSHTools LTD. All Rights Reserved.