Package com.authlete.common.util
Class JoseUtils
- java.lang.Object
-
- com.authlete.common.util.JoseUtils
-
public class JoseUtils extends Object
Utilities for JOSE (JavaScript Object Signing and Encryption).- Author:
- Takahiko Kawasaki
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisSupported(JWEAlg alg)Check whether the given JWE algorithm is supported by Authlete.
-
-
-
Method Detail
-
isSupported
public static boolean isSupported(JWEAlg alg)
Check whether the given JWE algorithm is supported by Authlete.This method returns
truewhen the given JWE algorithm is one of the following. (All the algorithms listed inJWEAlgare supported as of Dec. 15, 2015.)- Parameters:
alg- A JWE algorithm.- Returns:
trueif the given JWE algorithm is supported by Authlete.falseif the given JWE algorithm is not supported by Authlete. Whennullis given, this method returnsfalse.
-
-