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 boolean
isSupported(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
true
when the given JWE algorithm is one of the following. (All the algorithms listed inJWEAlg
are supported as of Dec. 15, 2015.)- Parameters:
alg
- A JWE algorithm.- Returns:
true
if the given JWE algorithm is supported by Authlete.false
if the given JWE algorithm is not supported by Authlete. Whennull
is given, this method returnsfalse
.
-
-