public enum KeyEncoding extends Enum<KeyEncoding>
Enum Constant and Description |
---|
BASE64
Encoded using Base64
|
NONE
Not encoded
|
PEM
Encoded using PEM format
|
Modifier and Type | Method and Description |
---|---|
static KeyEncoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyEncoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyEncoding NONE
public static final KeyEncoding BASE64
public static final KeyEncoding PEM
public static KeyEncoding[] values()
for (KeyEncoding c : KeyEncoding.values()) System.out.println(c);
public static KeyEncoding 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 nullCopyright © 2018 The Holon Platform. All rights reserved.