Class KeyManagementConstants
- java.lang.Object
-
- org.geant.idpextension.oidc.crypto.support.KeyManagementConstants
-
public final class KeyManagementConstants extends Object
Algorithm Header Parameter 'alg' Values for JWE as defined by RFC 7518.
-
-
Field Summary
Fields Modifier and Type Field Description static StringALGO_ID_ALG_AES_128_GCM_KWEncryption - Optional key wrapping with AES GCM using 128-bit key.static StringALGO_ID_ALG_AES_128_KWEncryption - Recommended AES Key Wrap with default initial value using 128-bit key.static StringALGO_ID_ALG_AES_192_GCM_KWEncryption - Optional key wrapping with AES GCM using 192-bit key.static StringALGO_ID_ALG_AES_192_KWEncryption - Optional AES Key Wrap with default initial value using 192-bit key.static StringALGO_ID_ALG_AES_256_GCM_KWEncryption - Optional key wrapping with AES GCM using 256-bit key.static StringALGO_ID_ALG_AES_256_KWEncryption - Recommended AES Key Wrap with default initial value using 256-bit key.static StringALGO_ID_ALG_DIREncryption - Recommended Direct use of a shared symmetric key as the CEK.static StringALGO_ID_ALG_ECDH_ESEncryption - Recommended+ Elliptic Curve Diffie-Helman Ephemeral Static key agreement.static StringALGO_ID_ALG_ECDH_ES_AES_128_KWEncryption - Recommended ECDH-ES using Concat KDF and CEK wrapped with A128KW.static StringALGO_ID_ALG_ECDH_ES_AES_192_KWEncryption - Optional ECDH-ES using Concat KDF and CEK wrapped with A192KW.static StringALGO_ID_ALG_ECDH_ES_AES_256_KWEncryption - Recommended ECDH-ES using Concat KDF and CEK wrapped with A256KW.static StringALGO_ID_ALG_PBES2_HS_256_AES_128_KWEncryption - Optional PBES2 with HMAC SHA-256 and A128KW wrapping.static StringALGO_ID_ALG_PBES2_HS_384_AES_192_KWEncryption - Optional PBES2 with HMAC SHA-538 and A192KW wrapping.static StringALGO_ID_ALG_PBES2_HS_512_AES_256_KWEncryption - Optional PBES2 with HMAC SHA-512 and A256KW wrapping.static StringALGO_ID_ALG_RSA_1_5Encryption - Recommended- RSAES-PKCS1-v1_5.static StringALGO_ID_ALG_RSA_OAEPEncryption - Recommended+ RSAES OAEP using default parameters.static StringALGO_ID_ALG_RSA_OAEP_256Encryption - Optional RSAES OAEP using SHA-256 and MGF1 with SHA-256.
-
Constructor Summary
Constructors Modifier Constructor Description privateKeyManagementConstants()Constructor.
-
-
-
Field Detail
-
ALGO_ID_ALG_RSA_1_5
public static final String ALGO_ID_ALG_RSA_1_5
Encryption - Recommended- RSAES-PKCS1-v1_5.- See Also:
- Constant Field Values
-
ALGO_ID_ALG_RSA_OAEP
public static final String ALGO_ID_ALG_RSA_OAEP
Encryption - Recommended+ RSAES OAEP using default parameters.- See Also:
- Constant Field Values
-
ALGO_ID_ALG_RSA_OAEP_256
public static final String ALGO_ID_ALG_RSA_OAEP_256
Encryption - Optional RSAES OAEP using SHA-256 and MGF1 with SHA-256.- See Also:
- Constant Field Values
-
ALGO_ID_ALG_AES_128_KW
public static final String ALGO_ID_ALG_AES_128_KW
Encryption - Recommended AES Key Wrap with default initial value using 128-bit key.- See Also:
- Constant Field Values
-
ALGO_ID_ALG_AES_192_KW
public static final String ALGO_ID_ALG_AES_192_KW
Encryption - Optional AES Key Wrap with default initial value using 192-bit key.- See Also:
- Constant Field Values
-
ALGO_ID_ALG_AES_256_KW
public static final String ALGO_ID_ALG_AES_256_KW
Encryption - Recommended AES Key Wrap with default initial value using 256-bit key.- See Also:
- Constant Field Values
-
ALGO_ID_ALG_DIR
public static final String ALGO_ID_ALG_DIR
Encryption - Recommended Direct use of a shared symmetric key as the CEK.- See Also:
- Constant Field Values
-
ALGO_ID_ALG_ECDH_ES
public static final String ALGO_ID_ALG_ECDH_ES
Encryption - Recommended+ Elliptic Curve Diffie-Helman Ephemeral Static key agreement.- See Also:
- Constant Field Values
-
ALGO_ID_ALG_ECDH_ES_AES_128_KW
public static final String ALGO_ID_ALG_ECDH_ES_AES_128_KW
Encryption - Recommended ECDH-ES using Concat KDF and CEK wrapped with A128KW.- See Also:
- Constant Field Values
-
ALGO_ID_ALG_ECDH_ES_AES_192_KW
public static final String ALGO_ID_ALG_ECDH_ES_AES_192_KW
Encryption - Optional ECDH-ES using Concat KDF and CEK wrapped with A192KW.- See Also:
- Constant Field Values
-
ALGO_ID_ALG_ECDH_ES_AES_256_KW
public static final String ALGO_ID_ALG_ECDH_ES_AES_256_KW
Encryption - Recommended ECDH-ES using Concat KDF and CEK wrapped with A256KW.- See Also:
- Constant Field Values
-
ALGO_ID_ALG_AES_128_GCM_KW
public static final String ALGO_ID_ALG_AES_128_GCM_KW
Encryption - Optional key wrapping with AES GCM using 128-bit key.- See Also:
- Constant Field Values
-
ALGO_ID_ALG_AES_192_GCM_KW
public static final String ALGO_ID_ALG_AES_192_GCM_KW
Encryption - Optional key wrapping with AES GCM using 192-bit key.- See Also:
- Constant Field Values
-
ALGO_ID_ALG_AES_256_GCM_KW
public static final String ALGO_ID_ALG_AES_256_GCM_KW
Encryption - Optional key wrapping with AES GCM using 256-bit key.- See Also:
- Constant Field Values
-
ALGO_ID_ALG_PBES2_HS_256_AES_128_KW
public static final String ALGO_ID_ALG_PBES2_HS_256_AES_128_KW
Encryption - Optional PBES2 with HMAC SHA-256 and A128KW wrapping.- See Also:
- Constant Field Values
-
ALGO_ID_ALG_PBES2_HS_384_AES_192_KW
public static final String ALGO_ID_ALG_PBES2_HS_384_AES_192_KW
Encryption - Optional PBES2 with HMAC SHA-538 and A192KW wrapping.- See Also:
- Constant Field Values
-
ALGO_ID_ALG_PBES2_HS_512_AES_256_KW
public static final String ALGO_ID_ALG_PBES2_HS_512_AES_256_KW
Encryption - Optional PBES2 with HMAC SHA-512 and A256KW wrapping.- See Also:
- Constant Field Values
-
-