你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IkeEncryption Class

public final class IkeEncryption
extends ExpandableStringEnum<IkeEncryption>

The IKE encryption algorithm (IKE phase 2).

Field Summary

Modifier and Type Field and Description
static final IkeEncryption AES128

Static value AES128 for IkeEncryption.

static final IkeEncryption AES192

Static value AES192 for IkeEncryption.

static final IkeEncryption AES256

Static value AES256 for IkeEncryption.

static final IkeEncryption DES

Static value DES for IkeEncryption.

static final IkeEncryption DES3

Static value DES3 for IkeEncryption.

static final IkeEncryption GCMAES128

Static value GCMAES128 for IkeEncryption.

static final IkeEncryption GCMAES256

Static value GCMAES256 for IkeEncryption.

Constructor Summary

Constructor Description
IkeEncryption()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of IkeEncryption value.

Method Summary

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

Creates or finds a IkeEncryption from its string representation.

static Collection<IkeEncryption> values()

Gets known IkeEncryption values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AES128

public static final IkeEncryption AES128

Static value AES128 for IkeEncryption.

AES192

public static final IkeEncryption AES192

Static value AES192 for IkeEncryption.

AES256

public static final IkeEncryption AES256

Static value AES256 for IkeEncryption.

DES

public static final IkeEncryption DES

Static value DES for IkeEncryption.

DES3

public static final IkeEncryption DES3

Static value DES3 for IkeEncryption.

GCMAES128

public static final IkeEncryption GCMAES128

Static value GCMAES128 for IkeEncryption.

GCMAES256

public static final IkeEncryption GCMAES256

Static value GCMAES256 for IkeEncryption.

Constructor Details

IkeEncryption

@Deprecated
public IkeEncryption()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of IkeEncryption value.

Method Details

fromString

public static IkeEncryption fromString(String name)

Creates or finds a IkeEncryption from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding IkeEncryption.

values

public static Collection<IkeEncryption> values()

Gets known IkeEncryption values.

Returns:

known IkeEncryption values.

Applies to