IpsecEncryption Class

public final class IpsecEncryption
extends ExpandableStringEnum<IpsecEncryption>

The IPSec encryption algorithm (IKE phase 1).

Field Summary

Modifier and Type Field and Description
static final IpsecEncryption AES128

Static value AES128 for IpsecEncryption.

static final IpsecEncryption AES192

Static value AES192 for IpsecEncryption.

static final IpsecEncryption AES256

Static value AES256 for IpsecEncryption.

static final IpsecEncryption DES

Static value DES for IpsecEncryption.

static final IpsecEncryption DES3

Static value DES3 for IpsecEncryption.

static final IpsecEncryption GCMAES128

Static value GCMAES128 for IpsecEncryption.

static final IpsecEncryption GCMAES192

Static value GCMAES192 for IpsecEncryption.

static final IpsecEncryption GCMAES256

Static value GCMAES256 for IpsecEncryption.

static final IpsecEncryption NONE

Static value None for IpsecEncryption.

Constructor Summary

Constructor Description
IpsecEncryption()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of IpsecEncryption value.

Method Summary

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

Creates or finds a IpsecEncryption from its string representation.

static Collection<IpsecEncryption> values()

Gets known IpsecEncryption values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AES128

public static final IpsecEncryption AES128

Static value AES128 for IpsecEncryption.

AES192

public static final IpsecEncryption AES192

Static value AES192 for IpsecEncryption.

AES256

public static final IpsecEncryption AES256

Static value AES256 for IpsecEncryption.

DES

public static final IpsecEncryption DES

Static value DES for IpsecEncryption.

DES3

public static final IpsecEncryption DES3

Static value DES3 for IpsecEncryption.

GCMAES128

public static final IpsecEncryption GCMAES128

Static value GCMAES128 for IpsecEncryption.

GCMAES192

public static final IpsecEncryption GCMAES192

Static value GCMAES192 for IpsecEncryption.

GCMAES256

public static final IpsecEncryption GCMAES256

Static value GCMAES256 for IpsecEncryption.

NONE

public static final IpsecEncryption NONE

Static value None for IpsecEncryption.

Constructor Details

IpsecEncryption

@Deprecated
public IpsecEncryption()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of IpsecEncryption value.

Method Details

fromString

public static IpsecEncryption fromString(String name)

Creates or finds a IpsecEncryption from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding IpsecEncryption.

values

public static Collection values()

Gets known IpsecEncryption values.

Returns:

known IpsecEncryption values.

Applies to