public final class AlgorithmUtils extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isAesCbcHmac(String algo) |
static boolean |
isAesGcm(String algo) |
static boolean |
isAesGcmKeyWrap(String algo) |
static boolean |
isAesKeyWrap(String algo) |
static boolean |
isEcdhEsDirect(String algo) |
static boolean |
isEcdhEsWrap(String algo) |
static boolean |
isEcDsaSign(String algo) |
static boolean |
isHmacSign(String algo) |
static boolean |
isOctet(String algo) |
static boolean |
isPbesHsWrap(String algo) |
static boolean |
isRsa(String algo) |
static boolean |
isRsaKeyWrap(String algo) |
static boolean |
isRsaShaPsSign(String algo) |
static boolean |
isRsaShaSign(String algo) |
static boolean |
isRsaSign(String algo) |
static String |
stripAlgoProperties(String javaName) |
static String |
toJavaAlgoNameOnly(String jwtName) |
static String |
toJavaName(String jwtName) |
static String |
toJwaName(String javaName,
int keyBitSize) |
public static final String AES
public static final String RSA_OAEP_ALGO
public static final String RSA_OAEP_256_ALGO
public static final String RSA_1_5_ALGO
public static final String A128KW_ALGO
public static final String A192KW_ALGO
public static final String A256KW_ALGO
public static final String A128GCMKW_ALGO
public static final String A192GCMKW_ALGO
public static final String A256GCMKW_ALGO
public static final String ECDH_ES_A128KW_ALGO
public static final String ECDH_ES_A192KW_ALGO
public static final String ECDH_ES_A256KW_ALGO
public static final String PBES2_HS256_A128KW_ALGO
public static final String PBES2_HS384_A192KW_ALGO
public static final String PBES2_HS512_A256KW_ALGO
public static final String ECDH_ES_DIRECT_ALGO
public static final String RSA_OAEP_ALGO_JAVA
public static final String RSA_OAEP_256_ALGO_JAVA
public static final String RSA_1_5_ALGO_JAVA
public static final String AES_WRAP_ALGO_JAVA
public static final String A128CBC_HS256_ALGO
public static final String A192CBC_HS384_ALGO
public static final String A256CBC_HS512_ALGO
public static final String A128GCM_ALGO
public static final String A192GCM_ALGO
public static final String A256GCM_ALGO
public static final String AES_GCM_ALGO_JAVA
public static final String AES_CBC_ALGO_JAVA
public static final String HMAC_SHA_256_ALGO
public static final String HMAC_SHA_384_ALGO
public static final String HMAC_SHA_512_ALGO
public static final String RS_SHA_256_ALGO
public static final String RS_SHA_384_ALGO
public static final String RS_SHA_512_ALGO
public static final String PS_SHA_256_ALGO
public static final String PS_SHA_384_ALGO
public static final String PS_SHA_512_ALGO
public static final String ES_SHA_256_ALGO
public static final String ES_SHA_384_ALGO
public static final String ES_SHA_512_ALGO
public static final String PLAIN_TEXT_ALGO
public static final String HMAC_SHA_256_JAVA
public static final String HMAC_SHA_384_JAVA
public static final String HMAC_SHA_512_JAVA
public static final String RS_SHA_256_JAVA
public static final String RS_SHA_384_JAVA
public static final String RS_SHA_512_JAVA
public static final String PS_SHA_256_JAVA
public static final String PS_SHA_384_JAVA
public static final String PS_SHA_512_JAVA
public static final String ES_SHA_256_JAVA
public static final String ES_SHA_384_JAVA
public static final String ES_SHA_512_JAVA
public static boolean isRsa(String algo)
public static boolean isRsaKeyWrap(String algo)
public static boolean isAesKeyWrap(String algo)
public static boolean isAesGcmKeyWrap(String algo)
public static boolean isPbesHsWrap(String algo)
public static boolean isEcdhEsWrap(String algo)
public static boolean isEcdhEsDirect(String algo)
public static boolean isAesGcm(String algo)
public static boolean isAesCbcHmac(String algo)
public static boolean isHmacSign(String algo)
public static boolean isOctet(String algo)
public static boolean isRsaSign(String algo)
public static boolean isRsaShaSign(String algo)
public static boolean isRsaShaPsSign(String algo)
public static boolean isEcDsaSign(String algo)
Apache CXF