KeyExportEncryptionAlgorithm Class

public final class KeyExportEncryptionAlgorithm
extends ExpandableStringEnum<KeyExportEncryptionAlgorithm>

The encryption algorithm to use to protected the exported key material.

Field Summary

Modifier and Type Field and Description
static final KeyExportEncryptionAlgorithm CKM_RSA_AES_KEY_WRAP

Static value CKM_RSA_AES_KEY_WRAP for KeyExportEncryptionAlgorithm.

static final KeyExportEncryptionAlgorithm RSA_AES_KEY_WRAP_256

Static value RSA_AES_KEY_WRAP_256 for KeyExportEncryptionAlgorithm.

static final KeyExportEncryptionAlgorithm RSA_AES_KEY_WRAP_384

Static value RSA_AES_KEY_WRAP_384 for KeyExportEncryptionAlgorithm.

Constructor Summary

Constructor Description
KeyExportEncryptionAlgorithm()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of KeyExportEncryptionAlgorithm value.

Method Summary

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

Creates or finds a KeyExportEncryptionAlgorithm from its string representation.

static Collection<KeyExportEncryptionAlgorithm> values()

Gets known KeyExportEncryptionAlgorithm values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CKM_RSA_AES_KEY_WRAP

public static final KeyExportEncryptionAlgorithm CKM_RSA_AES_KEY_WRAP

Static value CKM_RSA_AES_KEY_WRAP for KeyExportEncryptionAlgorithm.

RSA_AES_KEY_WRAP_256

public static final KeyExportEncryptionAlgorithm RSA_AES_KEY_WRAP_256

Static value RSA_AES_KEY_WRAP_256 for KeyExportEncryptionAlgorithm.

RSA_AES_KEY_WRAP_384

public static final KeyExportEncryptionAlgorithm RSA_AES_KEY_WRAP_384

Static value RSA_AES_KEY_WRAP_384 for KeyExportEncryptionAlgorithm.

Constructor Details

KeyExportEncryptionAlgorithm

@Deprecated
public KeyExportEncryptionAlgorithm()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of KeyExportEncryptionAlgorithm value.

Method Details

fromString

public static KeyExportEncryptionAlgorithm fromString(String name)

Creates or finds a KeyExportEncryptionAlgorithm from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding KeyExportEncryptionAlgorithm.

values

public static Collection values()

Gets known KeyExportEncryptionAlgorithm values.

Returns:

known KeyExportEncryptionAlgorithm values.

Applies to