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

Static value GCMAES128 for IkeIntegrity.

static final IkeIntegrity GCMAES256

Static value GCMAES256 for IkeIntegrity.

static final IkeIntegrity MD5

Static value MD5 for IkeIntegrity.

static final IkeIntegrity SHA1

Static value SHA1 for IkeIntegrity.

static final IkeIntegrity SHA256

Static value SHA256 for IkeIntegrity.

static final IkeIntegrity SHA384

Static value SHA384 for IkeIntegrity.

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

Static value GCMAES128 for IkeIntegrity.

GCMAES256

public static final IkeIntegrity GCMAES256

Static value GCMAES256 for IkeIntegrity.

MD5

public static final IkeIntegrity MD5

Static value MD5 for IkeIntegrity.

SHA1

public static final IkeIntegrity SHA1

Static value SHA1 for IkeIntegrity.

SHA256

public static final IkeIntegrity SHA256

Static value SHA256 for IkeIntegrity.

SHA384

public static final IkeIntegrity SHA384

Static value SHA384 for IkeIntegrity.

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

Gets known IkeIntegrity values.

Returns:

known IkeIntegrity values.

Applies to