EncryptionAlgorithm Class

public final class EncryptionAlgorithm
extends ExpandableStringEnum<EncryptionAlgorithm>

The encryption algorithm.

Field Summary

Modifier and Type Field and Description
static final EncryptionAlgorithm AES128

Static value AES128 for EncryptionAlgorithm.

static final EncryptionAlgorithm AES192

Static value AES192 for EncryptionAlgorithm.

static final EncryptionAlgorithm AES256

Static value AES256 for EncryptionAlgorithm.

static final EncryptionAlgorithm DES3

Static value DES3 for EncryptionAlgorithm.

static final EncryptionAlgorithm NONE

Static value None for EncryptionAlgorithm.

static final EncryptionAlgorithm NOT_SPECIFIED

Static value NotSpecified for EncryptionAlgorithm.

static final EncryptionAlgorithm RC2

Static value RC2 for EncryptionAlgorithm.

Constructor Summary

Constructor Description
EncryptionAlgorithm()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of EncryptionAlgorithm value.

Method Summary

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

Creates or finds a EncryptionAlgorithm from its string representation.

static Collection<EncryptionAlgorithm> values()

Gets known EncryptionAlgorithm values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AES128

public static final EncryptionAlgorithm AES128

Static value AES128 for EncryptionAlgorithm.

AES192

public static final EncryptionAlgorithm AES192

Static value AES192 for EncryptionAlgorithm.

AES256

public static final EncryptionAlgorithm AES256

Static value AES256 for EncryptionAlgorithm.

DES3

public static final EncryptionAlgorithm DES3

Static value DES3 for EncryptionAlgorithm.

NONE

public static final EncryptionAlgorithm NONE

Static value None for EncryptionAlgorithm.

NOT_SPECIFIED

public static final EncryptionAlgorithm NOT_SPECIFIED

Static value NotSpecified for EncryptionAlgorithm.

RC2

public static final EncryptionAlgorithm RC2

Static value RC2 for EncryptionAlgorithm.

Constructor Details

EncryptionAlgorithm

@Deprecated
public EncryptionAlgorithm()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of EncryptionAlgorithm value.

Method Details

fromString

public static EncryptionAlgorithm fromString(String name)

Creates or finds a EncryptionAlgorithm from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding EncryptionAlgorithm.

values

public static Collection values()

Gets known EncryptionAlgorithm values.

Returns:

known EncryptionAlgorithm values.

Applies to