blob: a16ec9ccc99078d25b5256bd8294960f445151de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
package org.bouncycastle.crypto.tls;
/*
* draft-ietf-tls-negotiated-ff-dhe-01
*/
public class FiniteFieldDHEGroup
{
public static final short ffdhe2432 = 0;
public static final short ffdhe3072 = 1;
public static final short ffdhe4096 = 2;
public static final short ffdhe6144 = 3;
public static final short ffdhe8192 = 4;
public static boolean isValid(short group)
{
return group >= ffdhe2432 && group <= ffdhe8192;
}
}
|