Share via


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

The CKM_RSA_AES_KEY_WRAP key wrap mechanism.

static final KeyExportEncryptionAlgorithm RSA_AES_KEY_WRAP_256

The RSA_AES_KEY_WRAP_256 key wrap mechanism.

static final KeyExportEncryptionAlgorithm RSA_AES_KEY_WRAP_384

The RSA_AES_KEY_WRAP_384 key wrap mechanism.

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

The CKM_RSA_AES_KEY_WRAP key wrap mechanism.

RSA_AES_KEY_WRAP_256

public static final KeyExportEncryptionAlgorithm RSA_AES_KEY_WRAP_256

The RSA_AES_KEY_WRAP_256 key wrap mechanism.

RSA_AES_KEY_WRAP_384

public static final KeyExportEncryptionAlgorithm RSA_AES_KEY_WRAP_384

The RSA_AES_KEY_WRAP_384 key wrap mechanism.

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

Gets known KeyExportEncryptionAlgorithm values.

Returns:

known KeyExportEncryptionAlgorithm values.

Applies to