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

AES128.

static final IpsecEncryption AES192

AES192.

static final IpsecEncryption AES256

AES256.

static final IpsecEncryption DES

DES.

static final IpsecEncryption DES3

DES3.

static final IpsecEncryption GCMAES128

GCMAES128.

static final IpsecEncryption GCMAES192

GCMAES192.

static final IpsecEncryption GCMAES256

GCMAES256.

static final IpsecEncryption NONE

None.

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

AES128.

AES192

public static final IpsecEncryption AES192

AES192.

AES256

public static final IpsecEncryption AES256

AES256.

DES

public static final IpsecEncryption DES

DES.

DES3

public static final IpsecEncryption DES3

DES3.

GCMAES128

public static final IpsecEncryption GCMAES128

GCMAES128.

GCMAES192

public static final IpsecEncryption GCMAES192

GCMAES192.

GCMAES256

public static final IpsecEncryption GCMAES256

GCMAES256.

NONE

public static final IpsecEncryption NONE

None.

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<IpsecEncryption> values()

Gets known IpsecEncryption values.

Returns:

known IpsecEncryption values.

Applies to