public enum KeyIdType extends Enum<KeyIdType>
| Enum Constant and Description |
|---|
RANDOM
RANDOM: A 64-bit random number as the key id.
|
SHA256
SHA256: The SHA256 hash of the public key as the key id.
|
USER_SPECIFIED
USER_SPECIFIED: A user-specified key ID.
|
| Modifier and Type | Method and Description |
|---|---|
static KeyIdType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyIdType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyIdType USER_SPECIFIED
public static final KeyIdType SHA256
public static final KeyIdType RANDOM
public static KeyIdType[] values()
for (KeyIdType c : KeyIdType.values()) System.out.println(c);
public static KeyIdType 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. All rights reserved.