public static enum Key.KeyAlgorithm extends Enum<Key.KeyAlgorithm>
Enum Constant and Description |
---|
ES256 |
ES384 |
ES512 |
HS256 |
HS384 |
HS512 |
RS256 |
RS384 |
RS512 |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
static Key.KeyAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Key.KeyAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Key.KeyAlgorithm ES256
public static final Key.KeyAlgorithm ES384
public static final Key.KeyAlgorithm ES512
public static final Key.KeyAlgorithm HS256
public static final Key.KeyAlgorithm HS384
public static final Key.KeyAlgorithm HS512
public static final Key.KeyAlgorithm RS256
public static final Key.KeyAlgorithm RS384
public static final Key.KeyAlgorithm RS512
public String algorithm
public static Key.KeyAlgorithm[] values()
for (Key.KeyAlgorithm c : Key.KeyAlgorithm.values()) System.out.println(c);
public static Key.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 String getName()
Copyright © 2021. All rights reserved.