Share via


EncryptionAlgorithm Class

public final class EncryptionAlgorithm
extends ExpandableStringEnum<EncryptionAlgorithm>

The algorithm used to encrypt "Value".

Field Summary

Modifier and Type Field and Description
static final EncryptionAlgorithm AES256

Static value AES256 for EncryptionAlgorithm.

static final EncryptionAlgorithm NONE

Static value None for EncryptionAlgorithm.

static final EncryptionAlgorithm RSAES_PKCS1_V_1_5

Static value RSAES_PKCS1_v_1_5 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

AES256

public static final EncryptionAlgorithm AES256

Static value AES256 for EncryptionAlgorithm.

NONE

public static final EncryptionAlgorithm NONE

Static value None for EncryptionAlgorithm.

RSAES_PKCS1_V_1_5

public static final EncryptionAlgorithm RSAES_PKCS1_V_1_5

Static value RSAES_PKCS1_v_1_5 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<EncryptionAlgorithm> values()

Gets known EncryptionAlgorithm values.

Returns:

known EncryptionAlgorithm values.

Applies to