public class DiffieHellmanGroups extends Object
Modifier and Type | Field and Description |
---|---|
static BigInteger |
group1 |
static BigInteger |
group14 |
static BigInteger |
group15 |
static BigInteger |
group16 |
static BigInteger |
group17 |
static BigInteger |
group18 |
static BigInteger |
group5 |
Constructor and Description |
---|
DiffieHellmanGroups() |
Modifier and Type | Method and Description |
---|---|
static BigInteger |
getSafePrime(UnsignedInteger32 maximumSize)
get the biggest safe prime from the list that is <= maximumSize
|
public static final BigInteger group1
public static final BigInteger group5
public static final BigInteger group14
public static final BigInteger group15
public static final BigInteger group16
public static final BigInteger group17
public static final BigInteger group18
public static BigInteger getSafePrime(UnsignedInteger32 maximumSize)
maximumSize
- Copyright © 2014. All rights reserved.