Uses of Class
com.nimbusds.jose.JWEAlgorithm
-
Packages that use JWEAlgorithm Package Description com.nimbusds.jose Base Javascript Object Signing and Encryption (JOSE) interfaces and classes.com.nimbusds.jose.crypto.factories JWS signer, JWS verifier, JWE encrypter and JWE decrypter factory implementations.com.nimbusds.jose.crypto.impl Cryptographic primitives for JWS signers, JWS verifiers, JWE encrypters and JWE decrypters in thecom.nimbusds.jose.crypto
package.com.nimbusds.jose.jca Java Cryptography Architecture (JCA) context interfaces and classes.com.nimbusds.jose.proc Framework for application-specific verification and decryption of JOSE objects (with arbitrary payloads). -
-
Uses of JWEAlgorithm in com.nimbusds.jose
Fields in com.nimbusds.jose declared as JWEAlgorithm Modifier and Type Field Description static JWEAlgorithm
JWEAlgorithm. A128GCMKW
AES in Galois/Counter Mode (GCM) (NIST.800-38D) 128 bit keys.static JWEAlgorithm
JWEAlgorithm. A128KW
Advanced Encryption Standard (AES) Key Wrap Algorithm (RFC 3394) using 128 bit keys.static JWEAlgorithm
JWEAlgorithm. A192GCMKW
AES in Galois/Counter Mode (GCM) (NIST.800-38D) 192 bit keys.static JWEAlgorithm
JWEAlgorithm. A192KW
Advanced Encryption Standard (AES) Key Wrap Algorithm (RFC 3394) using 192 bit keys.static JWEAlgorithm
JWEAlgorithm. A256GCMKW
AES in Galois/Counter Mode (GCM) (NIST.800-38D) 256 bit keys.static JWEAlgorithm
JWEAlgorithm. A256KW
Advanced Encryption Standard (AES) Key Wrap Algorithm (RFC 3394) using 256 bit keys.static JWEAlgorithm
JWEAlgorithm. DIR
Direct use of a shared symmetric key as the Content Encryption Key (CEK) for the block encryption step (rather than using the symmetric key to wrap the CEK).static JWEAlgorithm
JWEAlgorithm. ECDH_1PU
Elliptic Curve Diffie-Hellman One-Pass Unified Model key agreement using the Concat KDF, as defined in section 5.8.1 of NIST.800-56A, with the agreed-upon key being used directly as the Content Encryption Key (CEK) (rather than being used to wrap the CEK).static JWEAlgorithm
JWEAlgorithm. ECDH_1PU_A128KW
Elliptic Curve Diffie-Hellman One-Pass Unified Model key agreement per "ECDH-1PU", but where the agreed-upon key is used to wrap the Content Encryption Key (CEK) with the "A128KW" function (rather than being used directly as the CEK).static JWEAlgorithm
JWEAlgorithm. ECDH_1PU_A192KW
Elliptic Curve Diffie-Hellman One-Pass Unified Model key agreement per "ECDH-1PU", but where the agreed-upon key is used to wrap the Content Encryption Key (CEK) with the "A192KW" function (rather than being used directly as the CEK).static JWEAlgorithm
JWEAlgorithm. ECDH_1PU_A256KW
Elliptic Curve Diffie-Hellman One-Pass Unified Model key agreement per "ECDH-1PU", but where the agreed-upon key is used to wrap the Content Encryption Key (CEK) with the "A256KW" function (rather than being used directly as the CEK).static JWEAlgorithm
JWEAlgorithm. ECDH_ES
Elliptic Curve Diffie-Hellman Ephemeral Static (RFC 6090) key agreement using the Concat KDF, as defined in section 5.8.1 of NIST.800-56A, with the agreed-upon key being used directly as the Content Encryption Key (CEK) (rather than being used to wrap the CEK).static JWEAlgorithm
JWEAlgorithm. ECDH_ES_A128KW
Elliptic Curve Diffie-Hellman Ephemeral Static key agreement per "ECDH-ES", but where the agreed-upon key is used to wrap the Content Encryption Key (CEK) with the "A128KW" function (rather than being used directly as the CEK).static JWEAlgorithm
JWEAlgorithm. ECDH_ES_A192KW
Elliptic Curve Diffie-Hellman Ephemeral Static key agreement per "ECDH-ES", but where the agreed-upon key is used to wrap the Content Encryption Key (CEK) with the "A192KW" function (rather than being used directly as the CEK).static JWEAlgorithm
JWEAlgorithm. ECDH_ES_A256KW
Elliptic Curve Diffie-Hellman Ephemeral Static key agreement per "ECDH-ES", but where the agreed-upon key is used to wrap the Content Encryption Key (CEK) with the "A256KW" function (rather than being used directly as the CEK).static JWEAlgorithm
JWEAlgorithm. PBES2_HS256_A128KW
PBES2 (RFC 2898) with HMAC SHA-256 as the PRF and AES Key Wrap (RFC 3394) using 128 bit keys for the encryption scheme.static JWEAlgorithm
JWEAlgorithm. PBES2_HS384_A192KW
PBES2 (RFC 2898) with HMAC SHA-384 as the PRF and AES Key Wrap (RFC 3394) using 192 bit keys for the encryption scheme.static JWEAlgorithm
JWEAlgorithm. PBES2_HS512_A256KW
PBES2 (RFC 2898) with HMAC SHA-512 as the PRF and AES Key Wrap (RFC 3394) using 256 bit keys for the encryption scheme.static JWEAlgorithm
JWEAlgorithm. RSA_OAEP
Deprecated.static JWEAlgorithm
JWEAlgorithm. RSA_OAEP_256
RSAES using Optimal Asymmetric Encryption Padding (OAEP) (RFC 3447), with the SHA-256 hash function and the MGF1 with SHA-256 mask generation function.static JWEAlgorithm
JWEAlgorithm. RSA_OAEP_384
RSAES using Optimal Asymmetric Encryption Padding (OAEP) (RFC 3447), with the SHA-512 hash function and the MGF1 with SHA-384 mask generation function.static JWEAlgorithm
JWEAlgorithm. RSA_OAEP_512
RSAES using Optimal Asymmetric Encryption Padding (OAEP) (RFC 3447), with the SHA-512 hash function and the MGF1 with SHA-512 mask generation function.static JWEAlgorithm
JWEAlgorithm. RSA1_5
Deprecated.Methods in com.nimbusds.jose that return JWEAlgorithm Modifier and Type Method Description JWEAlgorithm
JWEHeader. getAlgorithm()
Gets the algorithm (alg
) parameter.static JWEAlgorithm
JWEAlgorithm. parse(String s)
Parses a JWE algorithm from the specified string.Methods in com.nimbusds.jose that return types with arguments of type JWEAlgorithm Modifier and Type Method Description Set<JWEAlgorithm>
JWEProvider. supportedJWEAlgorithms()
Returns the names of the supported algorithms by the JWE provider instance.Constructors in com.nimbusds.jose with parameters of type JWEAlgorithm Constructor Description Builder(JWEAlgorithm alg, EncryptionMethod enc)
Creates a new JWE header builder.Family(JWEAlgorithm... algs)
Creates a new JWE algorithm family.JWEHeader(JWEAlgorithm alg, EncryptionMethod enc)
Creates a new minimal JSON Web Encryption (JWE) header. -
Uses of JWEAlgorithm in com.nimbusds.jose.crypto.factories
Fields in com.nimbusds.jose.crypto.factories with type parameters of type JWEAlgorithm Modifier and Type Field Description static Set<JWEAlgorithm>
DefaultJWEDecrypterFactory. SUPPORTED_ALGORITHMS
The supported JWE algorithms.Methods in com.nimbusds.jose.crypto.factories that return types with arguments of type JWEAlgorithm Modifier and Type Method Description Set<JWEAlgorithm>
DefaultJWEDecrypterFactory. supportedJWEAlgorithms()
-
Uses of JWEAlgorithm in com.nimbusds.jose.crypto.impl
Fields in com.nimbusds.jose.crypto.impl with type parameters of type JWEAlgorithm Modifier and Type Field Description static Map<Integer,Set<JWEAlgorithm>>
AESCryptoProvider. COMPATIBLE_ALGORITHMS
The JWE algorithms compatible with each key size in bits.static Set<JWEAlgorithm>
AESCryptoProvider. SUPPORTED_ALGORITHMS
The supported JWE algorithms by the AES crypto provider class.static Set<JWEAlgorithm>
DirectCryptoProvider. SUPPORTED_ALGORITHMS
The supported JWE algorithms by the direct crypto provider class.static Set<JWEAlgorithm>
ECDH1PUCryptoProvider. SUPPORTED_ALGORITHMS
The supported JWE algorithms by the ECDH crypto provider class.static Set<JWEAlgorithm>
ECDHCryptoProvider. SUPPORTED_ALGORITHMS
The supported JWE algorithms by the ECDH crypto provider class.static Set<JWEAlgorithm>
PasswordBasedCryptoProvider. SUPPORTED_ALGORITHMS
The supported JWE algorithms by the password-based crypto provider class.static Set<JWEAlgorithm>
RSACryptoProvider. SUPPORTED_ALGORITHMS
The supported JWE algorithms by the RSA crypto provider class.Methods in com.nimbusds.jose.crypto.impl with parameters of type JWEAlgorithm Modifier and Type Method Description static byte[]
PBKDF2. formatSalt(JWEAlgorithm alg, byte[] salt)
Formats the specified cryptographic salt for use in PBKDF2.static PRFParams
PRFParams. resolve(JWEAlgorithm alg, Provider macProvider)
Resolves the Pseudo-Random Function (PRF) parameters for the specified PBES2 JWE algorithm.static ECDH.AlgorithmMode
ECDH. resolveAlgorithmMode(JWEAlgorithm alg)
Resolves the ECDH algorithm mode.static ECDH.AlgorithmMode
ECDH1PU. resolveAlgorithmMode(JWEAlgorithm alg)
Resolves the ECDH algorithm mode.static int
ECDH. sharedKeyLength(JWEAlgorithm alg, EncryptionMethod enc)
Returns the bit length of the shared key (derived via concat KDF) for the specified JWE ECDH algorithm.static int
ECDH1PU. sharedKeyLength(JWEAlgorithm alg, EncryptionMethod enc)
Returns the bit length of the shared key (derived via concat KDF) for the specified JWE ECDH algorithm.static String
AlgorithmSupportMessage. unsupportedJWEAlgorithm(JWEAlgorithm unsupported, Collection<JWEAlgorithm> supported)
Returns a message that the specified JWE algorithm is not supported.Method parameters in com.nimbusds.jose.crypto.impl with type arguments of type JWEAlgorithm Modifier and Type Method Description static String
AlgorithmSupportMessage. unsupportedJWEAlgorithm(JWEAlgorithm unsupported, Collection<JWEAlgorithm> supported)
Returns a message that the specified JWE algorithm is not supported. -
Uses of JWEAlgorithm in com.nimbusds.jose.jca
Methods in com.nimbusds.jose.jca with parameters of type JWEAlgorithm Modifier and Type Method Description static boolean
JCASupport. isSupported(JWEAlgorithm alg)
Checks if the specified JWE algorithm is supported by the default system JCA provider(s).static boolean
JCASupport. isSupported(JWEAlgorithm alg, Provider provider)
Checks if a JWE algorithm is supported by the specified JCA provider. -
Uses of JWEAlgorithm in com.nimbusds.jose.proc
Methods in com.nimbusds.jose.proc that return JWEAlgorithm Modifier and Type Method Description JWEAlgorithm
JWEDecryptionKeySelector. getExpectedJWEAlgorithm()
Returns the expected JWE algorithm.Constructors in com.nimbusds.jose.proc with parameters of type JWEAlgorithm Constructor Description JWEDecryptionKeySelector(JWEAlgorithm jweAlg, EncryptionMethod jweEnc, JWKSource<C> jwkSource)
Creates a new decryption key selector.
-