public static enum JsonWebKey.KeyOperation extends java.lang.Enum<JsonWebKey.KeyOperation>
| Enum Constant and Description |
|---|
decrypt |
deriveBits |
deriveKey |
encrypt |
sign |
unwrapKey |
verify |
wrapKey |
| Modifier and Type | Method and Description |
|---|---|
static JsonWebKey.KeyOperation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JsonWebKey.KeyOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonWebKey.KeyOperation sign
public static final JsonWebKey.KeyOperation verify
public static final JsonWebKey.KeyOperation encrypt
public static final JsonWebKey.KeyOperation decrypt
public static final JsonWebKey.KeyOperation wrapKey
public static final JsonWebKey.KeyOperation unwrapKey
public static final JsonWebKey.KeyOperation deriveKey
public static final JsonWebKey.KeyOperation deriveBits
public static JsonWebKey.KeyOperation[] values()
for (JsonWebKey.KeyOperation c : JsonWebKey.KeyOperation.values()) System.out.println(c);
public static JsonWebKey.KeyOperation valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null