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

Static value GCMAES128 for IpsecIntegrity.

static final IpsecIntegrity GCMAES192

Static value GCMAES192 for IpsecIntegrity.

static final IpsecIntegrity GCMAES256

Static value GCMAES256 for IpsecIntegrity.

static final IpsecIntegrity MD5

Static value MD5 for IpsecIntegrity.

static final IpsecIntegrity SHA1

Static value SHA1 for IpsecIntegrity.

static final IpsecIntegrity SHA256

Static value SHA256 for IpsecIntegrity.

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

Static value GCMAES128 for IpsecIntegrity.

GCMAES192

public static final IpsecIntegrity GCMAES192

Static value GCMAES192 for IpsecIntegrity.

GCMAES256

public static final IpsecIntegrity GCMAES256

Static value GCMAES256 for IpsecIntegrity.

MD5

public static final IpsecIntegrity MD5

Static value MD5 for IpsecIntegrity.

SHA1

public static final IpsecIntegrity SHA1

Static value SHA1 for IpsecIntegrity.

SHA256

public static final IpsecIntegrity SHA256

Static value SHA256 for IpsecIntegrity.

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

Gets known IpsecIntegrity values.

Returns:

known IpsecIntegrity values.

Applies to