KeyPermissions Class

public final class KeyPermissions
extends ExpandableStringEnum<KeyPermissions>

Defines values for KeyPermissions.

Field Summary

Modifier and Type Field and Description
static final KeyPermissions ALL

Static value all for KeyPermissions.

static final KeyPermissions BACKUP

Static value backup for KeyPermissions.

static final KeyPermissions CREATE

Static value create for KeyPermissions.

static final KeyPermissions DECRYPT

Static value decrypt for KeyPermissions.

static final KeyPermissions DELETE

Static value delete for KeyPermissions.

static final KeyPermissions ENCRYPT

Static value encrypt for KeyPermissions.

static final KeyPermissions GET

Static value get for KeyPermissions.

static final KeyPermissions GETROTATIONPOLICY

Static value getrotationpolicy for KeyPermissions.

static final KeyPermissions IMPORT

Static value import for KeyPermissions.

static final KeyPermissions LIST

Static value list for KeyPermissions.

static final KeyPermissions PURGE

Static value purge for KeyPermissions.

static final KeyPermissions RECOVER

Static value recover for KeyPermissions.

static final KeyPermissions RELEASE

Static value release for KeyPermissions.

static final KeyPermissions RESTORE

Static value restore for KeyPermissions.

static final KeyPermissions ROTATE

Static value rotate for KeyPermissions.

static final KeyPermissions SETROTATIONPOLICY

Static value setrotationpolicy for KeyPermissions.

static final KeyPermissions SIGN

Static value sign for KeyPermissions.

static final KeyPermissions UNWRAP_KEY

Static value unwrapKey for KeyPermissions.

static final KeyPermissions UPDATE

Static value update for KeyPermissions.

static final KeyPermissions VERIFY

Static value verify for KeyPermissions.

static final KeyPermissions WRAP_KEY

Static value wrapKey for KeyPermissions.

Constructor Summary

Constructor Description
KeyPermissions()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of KeyPermissions value.

Method Summary

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

Creates or finds a KeyPermissions from its string representation.

static Collection<KeyPermissions> values()

Gets known KeyPermissions values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ALL

public static final KeyPermissions ALL

Static value all for KeyPermissions.

BACKUP

public static final KeyPermissions BACKUP

Static value backup for KeyPermissions.

CREATE

public static final KeyPermissions CREATE

Static value create for KeyPermissions.

DECRYPT

public static final KeyPermissions DECRYPT

Static value decrypt for KeyPermissions.

DELETE

public static final KeyPermissions DELETE

Static value delete for KeyPermissions.

ENCRYPT

public static final KeyPermissions ENCRYPT

Static value encrypt for KeyPermissions.

GET

public static final KeyPermissions GET

Static value get for KeyPermissions.

GETROTATIONPOLICY

public static final KeyPermissions GETROTATIONPOLICY

Static value getrotationpolicy for KeyPermissions.

IMPORT

public static final KeyPermissions IMPORT

Static value import for KeyPermissions.

LIST

public static final KeyPermissions LIST

Static value list for KeyPermissions.

PURGE

public static final KeyPermissions PURGE

Static value purge for KeyPermissions.

RECOVER

public static final KeyPermissions RECOVER

Static value recover for KeyPermissions.

RELEASE

public static final KeyPermissions RELEASE

Static value release for KeyPermissions.

RESTORE

public static final KeyPermissions RESTORE

Static value restore for KeyPermissions.

ROTATE

public static final KeyPermissions ROTATE

Static value rotate for KeyPermissions.

SETROTATIONPOLICY

public static final KeyPermissions SETROTATIONPOLICY

Static value setrotationpolicy for KeyPermissions.

SIGN

public static final KeyPermissions SIGN

Static value sign for KeyPermissions.

UNWRAP_KEY

public static final KeyPermissions UNWRAP_KEY

Static value unwrapKey for KeyPermissions.

UPDATE

public static final KeyPermissions UPDATE

Static value update for KeyPermissions.

VERIFY

public static final KeyPermissions VERIFY

Static value verify for KeyPermissions.

WRAP_KEY

public static final KeyPermissions WRAP_KEY

Static value wrapKey for KeyPermissions.

Constructor Details

KeyPermissions

@Deprecated
public KeyPermissions()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of KeyPermissions value.

Method Details

fromString

public static KeyPermissions fromString(String name)

Creates or finds a KeyPermissions from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding KeyPermissions.

values

public static Collection values()

Gets known KeyPermissions values.

Returns:

known KeyPermissions values.

Applies to