KeySource Class

public final class KeySource
extends ExpandableStringEnum<KeySource>

The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault.

Field Summary

Modifier and Type Field and Description
static final KeySource MICROSOFT_KEYVAULT

Static value Microsoft.Keyvault for KeySource.

static final KeySource MICROSOFT_STORAGE

Static value Microsoft.Storage for KeySource.

Constructor Summary

Constructor Description
KeySource()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of KeySource value.

Method Summary

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

Creates or finds a KeySource from its string representation.

static Collection<KeySource> values()

Gets known KeySource values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

MICROSOFT_KEYVAULT

public static final KeySource MICROSOFT_KEYVAULT

Static value Microsoft.Keyvault for KeySource.

MICROSOFT_STORAGE

public static final KeySource MICROSOFT_STORAGE

Static value Microsoft.Storage for KeySource.

Constructor Details

KeySource

@Deprecated
public KeySource()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of KeySource value.

Method Details

fromString

public static KeySource fromString(String name)

Creates or finds a KeySource from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding KeySource.

values

public static Collection values()

Gets known KeySource values.

Returns:

known KeySource values.

Applies to