IpsecIntegrity Class

public final class IpsecIntegrity
extends ExpandableStringEnum<IpsecIntegrity>

The IPSec integrity algorithm (IKE phase 1).

Field Summary

Modifier and Type Field and Description
static final IpsecIntegrity GCMAES128

GCMAES128.

static final IpsecIntegrity GCMAES192

GCMAES192.

static final IpsecIntegrity GCMAES256

GCMAES256.

static final IpsecIntegrity MD5

MD5.

static final IpsecIntegrity SHA1

SHA1.

static final IpsecIntegrity SHA256

SHA256.

Constructor Summary

Constructor Description
IpsecIntegrity()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of IpsecIntegrity value.

Method Summary

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

Creates or finds a IpsecIntegrity from its string representation.

static Collection<IpsecIntegrity> values()

Gets known IpsecIntegrity values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

GCMAES128

public static final IpsecIntegrity GCMAES128

GCMAES128.

GCMAES192

public static final IpsecIntegrity GCMAES192

GCMAES192.

GCMAES256

public static final IpsecIntegrity GCMAES256

GCMAES256.

MD5

public static final IpsecIntegrity MD5

MD5.

SHA1

public static final IpsecIntegrity SHA1

SHA1.

SHA256

public static final IpsecIntegrity SHA256

SHA256.

Constructor Details

IpsecIntegrity

@Deprecated
public IpsecIntegrity()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of IpsecIntegrity value.

Method Details

fromString

public static IpsecIntegrity fromString(String name)

Creates or finds a IpsecIntegrity from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding IpsecIntegrity.

values

public static Collection<IpsecIntegrity> values()

Gets known IpsecIntegrity values.

Returns:

known IpsecIntegrity values.

Applies to