Package org.keycloak.crypto
Class JavaAlgorithm
- java.lang.Object
-
- org.keycloak.crypto.JavaAlgorithm
-
public class JavaAlgorithm extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
AES
static String
ES256
static String
ES384
static String
ES512
static String
HS256
static String
HS384
static String
HS512
static String
PS256
static String
PS384
static String
PS512
static String
RS256
static String
RS384
static String
RS512
static String
SHA256
static String
SHA384
static String
SHA512
-
Constructor Summary
Constructors Constructor Description JavaAlgorithm()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getJavaAlgorithm(String algorithm)
static String
getJavaAlgorithmForHash(String algorithm)
static boolean
isECJavaAlgorithm(String algorithm)
static boolean
isHMACJavaAlgorithm(String algorithm)
static boolean
isRSAJavaAlgorithm(String algorithm)
-
-
-
Field Detail
-
RS256
public static final String RS256
- See Also:
- Constant Field Values
-
RS384
public static final String RS384
- See Also:
- Constant Field Values
-
RS512
public static final String RS512
- See Also:
- Constant Field Values
-
HS256
public static final String HS256
- See Also:
- Constant Field Values
-
HS384
public static final String HS384
- See Also:
- Constant Field Values
-
HS512
public static final String HS512
- See Also:
- Constant Field Values
-
ES256
public static final String ES256
- See Also:
- Constant Field Values
-
ES384
public static final String ES384
- See Also:
- Constant Field Values
-
ES512
public static final String ES512
- See Also:
- Constant Field Values
-
PS256
public static final String PS256
- See Also:
- Constant Field Values
-
PS384
public static final String PS384
- See Also:
- Constant Field Values
-
PS512
public static final String PS512
- See Also:
- Constant Field Values
-
AES
public static final String AES
- See Also:
- Constant Field Values
-
SHA256
public static final String SHA256
- See Also:
- Constant Field Values
-
SHA384
public static final String SHA384
- See Also:
- Constant Field Values
-
SHA512
public static final String SHA512
- See Also:
- Constant Field Values
-
-