Package org.bouncycastle.tls
Class NamedGroup
java.lang.Object
org.bouncycastle.tls.NamedGroup
RFC 7919
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Experimental API (unstable): draft value requested in draft-connolly-tls-mlkem-key-agreement.static final int
Experimental API (unstable): draft value requested in draft-connolly-tls-mlkem-key-agreement.static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Experimental API (unstable): unofficial value from Open Quantum Safe project.static final int
Experimental API (unstable): unofficial value from Open Quantum Safe project.static final int
Experimental API (unstable): unofficial value from Open Quantum Safe project.static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
canBeNegotiated
(int namedGroup, ProtocolVersion version) static int
getCurveBits
(int namedGroup) static String
getCurveName
(int namedGroup) static int
getFiniteFieldBits
(int namedGroup) static String
getFiniteFieldName
(int namedGroup) static String
getKemName
(int namedGroup) static int
static int
static int
static int
static String
getName
(int namedGroup) static String
getStandardName
(int namedGroup) static String
getText
(int namedGroup) static boolean
isChar2Curve
(int namedGroup) static boolean
isFiniteField
(int namedGroup) static boolean
isPrimeCurve
(int namedGroup) static boolean
isPrivate
(int namedGroup) static boolean
isValid
(int namedGroup) static boolean
refersToAnECDHCurve
(int namedGroup) static boolean
refersToAnECDSACurve
(int namedGroup) static boolean
refersToAnXDHCurve
(int namedGroup) static boolean
refersToASpecificCurve
(int namedGroup) static boolean
refersToASpecificFiniteField
(int namedGroup) static boolean
refersToASpecificGroup
(int namedGroup) static boolean
refersToASpecificKem
(int namedGroup)
-
Field Details
-
sect163k1
public static final int sect163k1- See Also:
-
sect163r1
public static final int sect163r1- See Also:
-
sect163r2
public static final int sect163r2- See Also:
-
sect193r1
public static final int sect193r1- See Also:
-
sect193r2
public static final int sect193r2- See Also:
-
sect233k1
public static final int sect233k1- See Also:
-
sect233r1
public static final int sect233r1- See Also:
-
sect239k1
public static final int sect239k1- See Also:
-
sect283k1
public static final int sect283k1- See Also:
-
sect283r1
public static final int sect283r1- See Also:
-
sect409k1
public static final int sect409k1- See Also:
-
sect409r1
public static final int sect409r1- See Also:
-
sect571k1
public static final int sect571k1- See Also:
-
sect571r1
public static final int sect571r1- See Also:
-
secp160k1
public static final int secp160k1- See Also:
-
secp160r1
public static final int secp160r1- See Also:
-
secp160r2
public static final int secp160r2- See Also:
-
secp192k1
public static final int secp192k1- See Also:
-
secp192r1
public static final int secp192r1- See Also:
-
secp224k1
public static final int secp224k1- See Also:
-
secp224r1
public static final int secp224r1- See Also:
-
secp256k1
public static final int secp256k1- See Also:
-
secp256r1
public static final int secp256r1- See Also:
-
secp384r1
public static final int secp384r1- See Also:
-
secp521r1
public static final int secp521r1- See Also:
-
brainpoolP256r1
public static final int brainpoolP256r1- See Also:
-
brainpoolP384r1
public static final int brainpoolP384r1- See Also:
-
brainpoolP512r1
public static final int brainpoolP512r1- See Also:
-
x25519
public static final int x25519- See Also:
-
x448
public static final int x448- See Also:
-
brainpoolP256r1tls13
public static final int brainpoolP256r1tls13- See Also:
-
brainpoolP384r1tls13
public static final int brainpoolP384r1tls13- See Also:
-
brainpoolP512r1tls13
public static final int brainpoolP512r1tls13- See Also:
-
GC256A
public static final int GC256A- See Also:
-
GC256B
public static final int GC256B- See Also:
-
GC256C
public static final int GC256C- See Also:
-
GC256D
public static final int GC256D- See Also:
-
GC512A
public static final int GC512A- See Also:
-
GC512B
public static final int GC512B- See Also:
-
GC512C
public static final int GC512C- See Also:
-
curveSM2
public static final int curveSM2- See Also:
-
ffdhe2048
public static final int ffdhe2048- See Also:
-
ffdhe3072
public static final int ffdhe3072- See Also:
-
ffdhe4096
public static final int ffdhe4096- See Also:
-
ffdhe6144
public static final int ffdhe6144- See Also:
-
ffdhe8192
public static final int ffdhe8192- See Also:
-
arbitrary_explicit_prime_curves
public static final int arbitrary_explicit_prime_curves- See Also:
-
arbitrary_explicit_char2_curves
public static final int arbitrary_explicit_char2_curves- See Also:
-
OQS_mlkem512
public static final int OQS_mlkem512Experimental API (unstable): unofficial value from Open Quantum Safe project.- See Also:
-
OQS_mlkem768
public static final int OQS_mlkem768Experimental API (unstable): unofficial value from Open Quantum Safe project.- See Also:
-
OQS_mlkem1024
public static final int OQS_mlkem1024Experimental API (unstable): unofficial value from Open Quantum Safe project.- See Also:
-
DRAFT_mlkem768
public static final int DRAFT_mlkem768Experimental API (unstable): draft value requested in draft-connolly-tls-mlkem-key-agreement.- See Also:
-
DRAFT_mlkem1024
public static final int DRAFT_mlkem1024Experimental API (unstable): draft value requested in draft-connolly-tls-mlkem-key-agreement.- See Also:
-
-
Constructor Details
-
NamedGroup
public NamedGroup()
-
-
Method Details
-
canBeNegotiated
-
getCurveBits
public static int getCurveBits(int namedGroup) -
getCurveName
-
getFiniteFieldBits
public static int getFiniteFieldBits(int namedGroup) -
getFiniteFieldName
-
getKemName
-
getMaximumChar2CurveBits
public static int getMaximumChar2CurveBits() -
getMaximumCurveBits
public static int getMaximumCurveBits() -
getMaximumFiniteFieldBits
public static int getMaximumFiniteFieldBits() -
getMaximumPrimeCurveBits
public static int getMaximumPrimeCurveBits() -
getName
-
getStandardName
-
getText
-
isChar2Curve
public static boolean isChar2Curve(int namedGroup) -
isFiniteField
public static boolean isFiniteField(int namedGroup) -
isPrimeCurve
public static boolean isPrimeCurve(int namedGroup) -
isPrivate
public static boolean isPrivate(int namedGroup) -
isValid
public static boolean isValid(int namedGroup) -
refersToAnECDHCurve
public static boolean refersToAnECDHCurve(int namedGroup) -
refersToAnECDSACurve
public static boolean refersToAnECDSACurve(int namedGroup) -
refersToAnXDHCurve
public static boolean refersToAnXDHCurve(int namedGroup) -
refersToASpecificCurve
public static boolean refersToASpecificCurve(int namedGroup) -
refersToASpecificFiniteField
public static boolean refersToASpecificFiniteField(int namedGroup) -
refersToASpecificGroup
public static boolean refersToASpecificGroup(int namedGroup) -
refersToASpecificKem
public static boolean refersToASpecificKem(int namedGroup)
-