PfsGroup Class

public final class PfsGroup
extends ExpandableStringEnum<PfsGroup>

The Pfs Groups used in IKE Phase 2 for new child SA.

Field Summary

Modifier and Type Field and Description
static final PfsGroup ECP256

Static value ECP256 for PfsGroup.

static final PfsGroup ECP384

Static value ECP384 for PfsGroup.

static final PfsGroup NONE

Static value None for PfsGroup.

static final PfsGroup PFS1

Static value PFS1 for PfsGroup.

static final PfsGroup PFS14

Static value PFS14 for PfsGroup.

static final PfsGroup PFS2

Static value PFS2 for PfsGroup.

static final PfsGroup PFS2048

Static value PFS2048 for PfsGroup.

static final PfsGroup PFS24

Static value PFS24 for PfsGroup.

static final PfsGroup PFSMM

Static value PFSMM for PfsGroup.

Constructor Summary

Constructor Description
PfsGroup()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PfsGroup value.

Method Summary

Modifier and Type Method and Description
static PfsGroup fromString(String name)

Creates or finds a PfsGroup from its string representation.

static Collection<PfsGroup> values()

Gets known PfsGroup values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ECP256

public static final PfsGroup ECP256

Static value ECP256 for PfsGroup.

ECP384

public static final PfsGroup ECP384

Static value ECP384 for PfsGroup.

NONE

public static final PfsGroup NONE

Static value None for PfsGroup.

PFS1

public static final PfsGroup PFS1

Static value PFS1 for PfsGroup.

PFS14

public static final PfsGroup PFS14

Static value PFS14 for PfsGroup.

PFS2

public static final PfsGroup PFS2

Static value PFS2 for PfsGroup.

PFS2048

public static final PfsGroup PFS2048

Static value PFS2048 for PfsGroup.

PFS24

public static final PfsGroup PFS24

Static value PFS24 for PfsGroup.

PFSMM

public static final PfsGroup PFSMM

Static value PFSMM for PfsGroup.

Constructor Details

PfsGroup

@Deprecated
public PfsGroup()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PfsGroup value.

Method Details

fromString

public static PfsGroup fromString(String name)

Creates or finds a PfsGroup from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding PfsGroup.

values

public static Collection values()

Gets known PfsGroup values.

Returns:

known PfsGroup values.

Applies to