Partager via


JsonWebKeyOperation Class

public final class JsonWebKeyOperation
extends ExpandableStringEnum<JsonWebKeyOperation>

The permitted JSON web key operations of the key. For more information, see JsonWebKeyOperation.

Field Summary

Modifier and Type Field and Description
static final JsonWebKeyOperation DECRYPT

Static value decrypt for JsonWebKeyOperation.

static final JsonWebKeyOperation ENCRYPT

Static value encrypt for JsonWebKeyOperation.

static final JsonWebKeyOperation IMPORT

Static value import for JsonWebKeyOperation.

static final JsonWebKeyOperation RELEASE

Static value release for JsonWebKeyOperation.

static final JsonWebKeyOperation SIGN

Static value sign for JsonWebKeyOperation.

static final JsonWebKeyOperation UNWRAP_KEY

Static value unwrapKey for JsonWebKeyOperation.

static final JsonWebKeyOperation VERIFY

Static value verify for JsonWebKeyOperation.

static final JsonWebKeyOperation WRAP_KEY

Static value wrapKey for JsonWebKeyOperation.

Constructor Summary

Constructor Description
JsonWebKeyOperation()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of JsonWebKeyOperation value.

Method Summary

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

Creates or finds a JsonWebKeyOperation from its string representation.

static Collection<JsonWebKeyOperation> values()

Gets known JsonWebKeyOperation values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DECRYPT

public static final JsonWebKeyOperation DECRYPT

Static value decrypt for JsonWebKeyOperation.

ENCRYPT

public static final JsonWebKeyOperation ENCRYPT

Static value encrypt for JsonWebKeyOperation.

IMPORT

public static final JsonWebKeyOperation IMPORT

Static value import for JsonWebKeyOperation.

RELEASE

public static final JsonWebKeyOperation RELEASE

Static value release for JsonWebKeyOperation.

SIGN

public static final JsonWebKeyOperation SIGN

Static value sign for JsonWebKeyOperation.

UNWRAP_KEY

public static final JsonWebKeyOperation UNWRAP_KEY

Static value unwrapKey for JsonWebKeyOperation.

VERIFY

public static final JsonWebKeyOperation VERIFY

Static value verify for JsonWebKeyOperation.

WRAP_KEY

public static final JsonWebKeyOperation WRAP_KEY

Static value wrapKey for JsonWebKeyOperation.

Constructor Details

JsonWebKeyOperation

@Deprecated
public JsonWebKeyOperation()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of JsonWebKeyOperation value.

Method Details

fromString

public static JsonWebKeyOperation fromString(String name)

Creates or finds a JsonWebKeyOperation from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding JsonWebKeyOperation.

values

public static Collection values()

Gets known JsonWebKeyOperation values.

Returns:

known JsonWebKeyOperation values.

Applies to