@Deprecated public enum Algorithm extends Enum<Algorithm>
Enum Constant and Description |
---|
ES256
Deprecated.
|
ES384
Deprecated.
|
ES512
Deprecated.
|
HS256
Deprecated.
|
HS384
Deprecated.
|
HS512
Deprecated.
|
none
Deprecated.
|
PS256
Deprecated.
|
PS384
Deprecated.
|
PS512
Deprecated.
|
RS256
Deprecated.
|
RS384
Deprecated.
|
RS512
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
SignatureProvider |
getProvider()
Deprecated.
|
AlgorithmType |
getType()
Deprecated.
|
static Algorithm |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static Algorithm[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Algorithm none
public static final Algorithm HS256
public static final Algorithm HS384
public static final Algorithm HS512
public static final Algorithm RS256
public static final Algorithm RS384
public static final Algorithm RS512
public static final Algorithm PS256
public static final Algorithm PS384
public static final Algorithm PS512
public static final Algorithm ES256
public static final Algorithm ES384
public static final Algorithm ES512
public static Algorithm[] values()
for (Algorithm c : Algorithm.values()) System.out.println(c);
public static Algorithm 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 AlgorithmType getType()
public SignatureProvider getProvider()
Copyright © 2019 JBoss by Red Hat. All rights reserved.