| Modifier and Type | Field and Description |
|---|---|
| private static final Vector | |
| public static final int | |
| protected Vector | |
| protected int |
| Access | Constructor and Description |
|---|---|
| public | DefaultTlsDHGroupVerifier()
Accept named groups and various standard DH groups with 'P' at least |
| public | DefaultTlsDHGroupVerifier(int minimumPrimeBits)
Accept named groups and various standard DH groups with 'P' at least the specified number of bits. |
| public | DefaultTlsDHGroupVerifier(Vector<E> groups, int minimumPrimeBits)
Accept named groups and a custom set of group parameters, subject to a minimum bitlength for 'P'. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | accept(DHGroup
the dhGroup)DHGroup to checkImplements org. Check whether the given DH group is acceptable for use. |
| private static void | |
| protected boolean | |
| protected boolean | |
| protected boolean | |
| protected boolean | |
| public int |
| DEFAULT_GROUPS | back to summary |
|---|---|
| private static final Vector<E> DEFAULT_GROUPS | |
| DEFAULT_MINIMUM_PRIME_BITS | back to summary |
|---|---|
| public static final int DEFAULT_MINIMUM_PRIME_BITS | |
| groups | back to summary |
|---|---|
| protected Vector<E> groups | |
| minimumPrimeBits | back to summary |
|---|---|
| protected int minimumPrimeBits | |
| DefaultTlsDHGroupVerifier | back to summary |
|---|---|
| public DefaultTlsDHGroupVerifier() Accept named groups and various standard DH groups with 'P' at least | |
| DefaultTlsDHGroupVerifier | back to summary |
|---|---|
| public DefaultTlsDHGroupVerifier(int minimumPrimeBits) Accept named groups and various standard DH groups with 'P' at least the specified number of bits. | |
| DefaultTlsDHGroupVerifier | back to summary |
|---|---|
| public DefaultTlsDHGroupVerifier(Vector<E> groups, int minimumPrimeBits) Accept named groups and a custom set of group parameters, subject to a minimum bitlength for 'P'. | |
| accept | back to summary |
|---|---|
| public boolean accept(DHGroup dhGroup) Implements org. Doc from org. Check whether the given DH group is acceptable for use. | |
| addDefaultGroup | back to summary |
|---|---|
| private static void addDefaultGroup(DHGroup dhGroup) | |
| areGroupsEqual | back to summary |
|---|---|
| protected boolean areGroupsEqual(DHGroup a, DHGroup b) | |
| areParametersEqual | back to summary |
|---|---|
| protected boolean areParametersEqual(BigInteger a, BigInteger b) | |
| checkGroup | back to summary |
|---|---|
| protected boolean checkGroup(DHGroup dhGroup) | |
| checkMinimumPrimeBits | back to summary |
|---|---|
| protected boolean checkMinimumPrimeBits(DHGroup dhGroup) | |
| getMinimumPrimeBits | back to summary |
|---|---|
| public int getMinimumPrimeBits() | |