public static enum ECDHECryptography.SupportedGroup extends Enum<ECDHECryptography.SupportedGroup>
| Modifier and Type | Method and Description |
|---|---|
static ECDHECryptography.SupportedGroup |
fromId(int id)
Gets the group for a given id.
|
ECParameterSpec |
getEcParams()
Gets this group's corresponding EC parameters.
|
int |
getId()
Gets this group's official id as registered with IANA.
|
static List<ECDHECryptography.SupportedGroup> |
getPreferredGroups()
Gets the preferred supported groups.
|
static ECDHECryptography.SupportedGroup[] |
getUsableGroups()
Gets all
SupportedGroups that can be used on this platform. |
boolean |
isUsable()
Checks whether this group can be used on this platform.
|
static ECDHECryptography.SupportedGroup |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ECDHECryptography.SupportedGroup[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ECDHECryptography.SupportedGroup sect163k1
public static final ECDHECryptography.SupportedGroup sect163r1
public static final ECDHECryptography.SupportedGroup sect163r2
public static final ECDHECryptography.SupportedGroup sect193r1
public static final ECDHECryptography.SupportedGroup sect193r2
public static final ECDHECryptography.SupportedGroup sect233k1
public static final ECDHECryptography.SupportedGroup sect233r1
public static final ECDHECryptography.SupportedGroup sect239k1
public static final ECDHECryptography.SupportedGroup sect283k1
public static final ECDHECryptography.SupportedGroup sect283r1
public static final ECDHECryptography.SupportedGroup sect409k1
public static final ECDHECryptography.SupportedGroup sect409r1
public static final ECDHECryptography.SupportedGroup sect571k1
public static final ECDHECryptography.SupportedGroup sect571r1
public static final ECDHECryptography.SupportedGroup secp160k1
public static final ECDHECryptography.SupportedGroup secp160r1
public static final ECDHECryptography.SupportedGroup secp160r2
public static final ECDHECryptography.SupportedGroup secp192k1
public static final ECDHECryptography.SupportedGroup secp192r1
public static final ECDHECryptography.SupportedGroup secp224k1
public static final ECDHECryptography.SupportedGroup secp224r1
public static final ECDHECryptography.SupportedGroup secp256k1
public static final ECDHECryptography.SupportedGroup secp256r1
public static final ECDHECryptography.SupportedGroup secp384r1
public static final ECDHECryptography.SupportedGroup secp521r1
public static final ECDHECryptography.SupportedGroup brainpoolP256r1
public static final ECDHECryptography.SupportedGroup brainpoolP384r1
public static final ECDHECryptography.SupportedGroup brainpoolP512r1
public static final ECDHECryptography.SupportedGroup ffdhe2048
public static final ECDHECryptography.SupportedGroup ffdhe3072
public static final ECDHECryptography.SupportedGroup ffdhe4096
public static final ECDHECryptography.SupportedGroup ffdhe6144
public static final ECDHECryptography.SupportedGroup ffdhe8192
public static final ECDHECryptography.SupportedGroup arbitrary_explicit_prime_curves
public static final ECDHECryptography.SupportedGroup arbitrary_explicit_char2_curves
public static ECDHECryptography.SupportedGroup[] values()
for (ECDHECryptography.SupportedGroup c : ECDHECryptography.SupportedGroup.values()) System.out.println(c);
public static ECDHECryptography.SupportedGroup valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getId()
public static ECDHECryptography.SupportedGroup fromId(int id)
id - the idnull if no group with the given id
is (currently) registeredpublic ECParameterSpec getEcParams()
null if the params
for this group are not (yet) registeredpublic boolean isUsable()
true if the group's domain params are known
and the JRE's crypto provider supports itpublic static ECDHECryptography.SupportedGroup[] getUsableGroups()
SupportedGroups that can be used on this platform.isUsable()public static List<ECDHECryptography.SupportedGroup> getPreferredGroups()
Copyright © 2023 Eclipse Foundation. All rights reserved.