public enum KeyUse extends Enum<KeyUse>
Enum Constant and Description |
---|
ENC
Use Key as a encryption key.
|
SIG
Use Key as a signature key.
|
TLS
Use Key as TLS transport key.
|
Modifier and Type | Method and Description |
---|---|
static KeyUse |
getKeyUse(String value)
Get the KeyUse.
|
String |
toString()
Prints the KeyUse value.
|
String |
value()
Get the Value of the KeyUse.
|
static KeyUse |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyUse[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyUse SIG
public static final KeyUse ENC
public static final KeyUse TLS
public static KeyUse[] values()
for (KeyUse c : KeyUse.values()) System.out.println(c);
public static KeyUse valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String value()
public static KeyUse getKeyUse(String value)
value
- the string representing the KeyUse to getCopyright © 2010-2018, ForgeRock All Rights Reserved.