public enum Algorithm extends Enum<Algorithm>
Enum Constant and Description |
---|
ES256 |
ES384 |
ES512 |
HS256 |
HS384 |
HS512 |
none |
RS256 |
RS384 |
RS512 |
Modifier and Type | Method and Description |
---|---|
SignatureProvider |
getProvider() |
static Algorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Algorithm[] |
values()
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 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 SignatureProvider getProvider()
Copyright © 2016 JBoss by Red Hat. All rights reserved.