public enum KeyAlgorithm extends Enum<KeyAlgorithm>
| Modifier and Type | Method and Description |
|---|---|
static KeyAlgorithm |
fromId(char id) |
int |
getValue() |
static KeyAlgorithm |
valueOf(int pageType) |
static KeyAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyAlgorithm ED25519
public static final KeyAlgorithm SECP256K1
public static KeyAlgorithm[] values()
for (KeyAlgorithm c : KeyAlgorithm.values()) System.out.println(c);
public static KeyAlgorithm 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 static KeyAlgorithm valueOf(int pageType)
public static KeyAlgorithm fromId(char id)
public int getValue()
Copyright © 2021. All rights reserved.