public static enum PhaseOneConfigDetails.DiffieHelmanGroup extends Enum<PhaseOneConfigDetails.DiffieHelmanGroup> implements BmcEnum
The custom Diffie-Hellman group proposed during phase one tunnel negotiation.
Enum Constant and Description |
---|
Group14 |
Group19 |
Group2 |
Group20 |
Group24 |
Group5 |
Modifier and Type | Method and Description |
---|---|
static PhaseOneConfigDetails.DiffieHelmanGroup |
create(String key) |
String |
getValue() |
static PhaseOneConfigDetails.DiffieHelmanGroup |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PhaseOneConfigDetails.DiffieHelmanGroup[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PhaseOneConfigDetails.DiffieHelmanGroup Group2
public static final PhaseOneConfigDetails.DiffieHelmanGroup Group5
public static final PhaseOneConfigDetails.DiffieHelmanGroup Group14
public static final PhaseOneConfigDetails.DiffieHelmanGroup Group19
public static final PhaseOneConfigDetails.DiffieHelmanGroup Group20
public static final PhaseOneConfigDetails.DiffieHelmanGroup Group24
public static PhaseOneConfigDetails.DiffieHelmanGroup[] values()
for (PhaseOneConfigDetails.DiffieHelmanGroup c : PhaseOneConfigDetails.DiffieHelmanGroup.values()) System.out.println(c);
public static PhaseOneConfigDetails.DiffieHelmanGroup 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 static PhaseOneConfigDetails.DiffieHelmanGroup create(String key)
Copyright © 2016–2024. All rights reserved.