IkeIntegrity Class

public final class IkeIntegrity
extends ExpandableStringEnum<IkeIntegrity>

The IKE integrity algorithm (IKE phase 2).

Field Summary

Modifier and Type Field and Description
static final IkeIntegrity GCMAES128

GCMAES128.

static final IkeIntegrity GCMAES256

GCMAES256.

static final IkeIntegrity MD5

MD5.

static final IkeIntegrity SHA1

SHA1.

static final IkeIntegrity SHA256

SHA256.

static final IkeIntegrity SHA384

SHA384.

Constructor Summary

Constructor Description
IkeIntegrity()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of IkeIntegrity value.

Method Summary

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

Creates or finds a IkeIntegrity from its string representation.

static Collection<IkeIntegrity> values()

Gets known IkeIntegrity values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

GCMAES128

public static final IkeIntegrity GCMAES128

GCMAES128.

GCMAES256

public static final IkeIntegrity GCMAES256

GCMAES256.

MD5

public static final IkeIntegrity MD5

MD5.

SHA1

public static final IkeIntegrity SHA1

SHA1.

SHA256

public static final IkeIntegrity SHA256

SHA256.

SHA384

public static final IkeIntegrity SHA384

SHA384.

Constructor Details

IkeIntegrity

@Deprecated
public IkeIntegrity()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of IkeIntegrity value.

Method Details

fromString

public static IkeIntegrity fromString(String name)

Creates or finds a IkeIntegrity from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding IkeIntegrity.

values

public static Collection<IkeIntegrity> values()

Gets known IkeIntegrity values.

Returns:

known IkeIntegrity values.

Applies to