Uses of Class
com.nimbusds.jose.JWEAlgorithm
Packages that use JWEAlgorithm
Package
Description
Base Javascript Object Signing and Encryption (JOSE) interfaces and classes.
JWS signer, JWS verifier, JWE encrypter and JWE decrypter factory
implementations.
Cryptographic primitives for JWS signers, JWS verifiers, JWE encrypters and
JWE decrypters in the
com.nimbusds.jose.crypto package.Java Cryptography Architecture (JCA) context interfaces and classes.
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 JWEAlgorithmModifier and TypeFieldDescriptionstatic final JWEAlgorithmJWEAlgorithm.A128GCMKWAES in Galois/Counter Mode (GCM) (NIST.800-38D) 128 bit keys.static final JWEAlgorithmJWEAlgorithm.A128KWAdvanced Encryption Standard (AES) Key Wrap Algorithm (RFC 3394) using 128 bit keys.static final JWEAlgorithmJWEAlgorithm.A192GCMKWAES in Galois/Counter Mode (GCM) (NIST.800-38D) 192 bit keys.static final JWEAlgorithmJWEAlgorithm.A192KWAdvanced Encryption Standard (AES) Key Wrap Algorithm (RFC 3394) using 192 bit keys.static final JWEAlgorithmJWEAlgorithm.A256GCMKWAES in Galois/Counter Mode (GCM) (NIST.800-38D) 256 bit keys.static final JWEAlgorithmJWEAlgorithm.A256KWAdvanced Encryption Standard (AES) Key Wrap Algorithm (RFC 3394) using 256 bit keys.static final JWEAlgorithmJWEAlgorithm.DIRDirect 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 final JWEAlgorithmJWEAlgorithm.ECDH_1PUElliptic 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 final JWEAlgorithmJWEAlgorithm.ECDH_1PU_A128KWElliptic 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 final JWEAlgorithmJWEAlgorithm.ECDH_1PU_A192KWElliptic 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 final JWEAlgorithmJWEAlgorithm.ECDH_1PU_A256KWElliptic 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 final JWEAlgorithmJWEAlgorithm.ECDH_ESElliptic 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 final JWEAlgorithmJWEAlgorithm.ECDH_ES_A128KWElliptic 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 final JWEAlgorithmJWEAlgorithm.ECDH_ES_A192KWElliptic 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 final JWEAlgorithmJWEAlgorithm.ECDH_ES_A256KWElliptic 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 final JWEAlgorithmJWEAlgorithm.PBES2_HS256_A128KWPBES2 (RFC 2898) with HMAC SHA-256 as the PRF and AES Key Wrap (RFC 3394) using 128 bit keys for the encryption scheme.static final JWEAlgorithmJWEAlgorithm.PBES2_HS384_A192KWPBES2 (RFC 2898) with HMAC SHA-384 as the PRF and AES Key Wrap (RFC 3394) using 192 bit keys for the encryption scheme.static final JWEAlgorithmJWEAlgorithm.PBES2_HS512_A256KWPBES2 (RFC 2898) with HMAC SHA-512 as the PRF and AES Key Wrap (RFC 3394) using 256 bit keys for the encryption scheme.static final JWEAlgorithmJWEAlgorithm.RSA_OAEPDeprecated.static final JWEAlgorithmJWEAlgorithm.RSA_OAEP_256RSAES using Optimal Asymmetric Encryption Padding (OAEP) (RFC 3447), with the SHA-256 hash function and the MGF1 with SHA-256 mask generation function.static final JWEAlgorithmJWEAlgorithm.RSA_OAEP_384RSAES using Optimal Asymmetric Encryption Padding (OAEP) (RFC 3447), with the SHA-512 hash function and the MGF1 with SHA-384 mask generation function.static final JWEAlgorithmJWEAlgorithm.RSA_OAEP_512RSAES using Optimal Asymmetric Encryption Padding (OAEP) (RFC 3447), with the SHA-512 hash function and the MGF1 with SHA-512 mask generation function.static final JWEAlgorithmJWEAlgorithm.RSA1_5Deprecated.Methods in com.nimbusds.jose that return JWEAlgorithmModifier and TypeMethodDescriptionJWEHeader.getAlgorithm()Gets the algorithm (alg) parameter.static JWEAlgorithmParses a JWE algorithm from the specified string.Methods in com.nimbusds.jose that return types with arguments of type JWEAlgorithmModifier and TypeMethodDescriptionJWEProvider.supportedJWEAlgorithms()Returns the names of the supported algorithms by the JWE provider instance.Methods in com.nimbusds.jose with parameters of type JWEAlgorithmModifier and TypeMethodDescriptionJWEHeader.Builder.alg(JWEAlgorithm alg) Sets the algorithm (alg) parameter.Constructors in com.nimbusds.jose with parameters of type JWEAlgorithmModifierConstructorDescriptionBuilder(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 JWEAlgorithmModifier and TypeFieldDescriptionstatic final Set<JWEAlgorithm>DefaultJWEDecrypterFactory.SUPPORTED_ALGORITHMSThe supported JWE algorithms.Methods in com.nimbusds.jose.crypto.factories that return types with arguments of type JWEAlgorithm -
Uses of JWEAlgorithm in com.nimbusds.jose.crypto.impl
Fields in com.nimbusds.jose.crypto.impl with type parameters of type JWEAlgorithmModifier and TypeFieldDescriptionstatic final Map<Integer,Set<JWEAlgorithm>> AESCryptoProvider.COMPATIBLE_ALGORITHMSThe JWE algorithms compatible with each key size in bits.static final Map<Integer,Set<JWEAlgorithm>> MultiCryptoProvider.COMPATIBLE_ALGORITHMSThe JWE algorithms compatible with each key size in bits.static final Set<JWEAlgorithm>AESCryptoProvider.SUPPORTED_ALGORITHMSThe supported JWE algorithms by the AES crypto provider class.static final Set<JWEAlgorithm>DirectCryptoProvider.SUPPORTED_ALGORITHMSThe supported JWE algorithms by the direct crypto provider class.static final Set<JWEAlgorithm>ECDH1PUCryptoProvider.SUPPORTED_ALGORITHMSThe supported JWE algorithms by the ECDH crypto provider class.static final Set<JWEAlgorithm>ECDHCryptoProvider.SUPPORTED_ALGORITHMSThe supported JWE algorithms by the ECDH crypto provider class.static final Set<JWEAlgorithm>MultiCryptoProvider.SUPPORTED_ALGORITHMSThe supported JWE algorithms by the direct crypto provider class.static final Set<JWEAlgorithm>PasswordBasedCryptoProvider.SUPPORTED_ALGORITHMSThe supported JWE algorithms by the password-based crypto provider class.static final Set<JWEAlgorithm>RSACryptoProvider.SUPPORTED_ALGORITHMSThe supported JWE algorithms by the RSA crypto provider class.Methods in com.nimbusds.jose.crypto.impl that return JWEAlgorithmModifier and TypeMethodDescriptionstatic JWEAlgorithmJWEHeaderValidation.getAlgorithmAndEnsureNotNull(JWEHeader jweHeader) Gets the JWE algorithm of the specified header and ensure it is notnull.Methods in com.nimbusds.jose.crypto.impl that return types with arguments of type JWEAlgorithmMethods in com.nimbusds.jose.crypto.impl with parameters of type JWEAlgorithmModifier and TypeMethodDescriptionstatic byte[]PBKDF2.formatSalt(JWEAlgorithm alg, byte[] salt) Formats the specified cryptographic salt for use in PBKDF2.static PRFParamsPRFParams.resolve(JWEAlgorithm alg, Provider macProvider) Resolves the Pseudo-Random Function (PRF) parameters for the specified PBES2 JWE algorithm.static ECDH.AlgorithmModeECDH.resolveAlgorithmMode(JWEAlgorithm alg) Resolves the ECDH algorithm mode.static ECDH.AlgorithmModeECDH1PU.resolveAlgorithmMode(JWEAlgorithm alg) Resolves the ECDH algorithm mode.static intECDH.sharedKeyLength(JWEAlgorithm alg, EncryptionMethod enc) Returns the bit length of the shared key (derived via concat KDF) for the specified JWE ECDH algorithm.static intECDH1PU.sharedKeyLength(JWEAlgorithm alg, EncryptionMethod enc) Returns the bit length of the shared key (derived via concat KDF) for the specified JWE ECDH algorithm.static StringAlgorithmSupportMessage.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 JWEAlgorithmModifier and TypeMethodDescriptionstatic StringAlgorithmSupportMessage.unsupportedJWEAlgorithm(JWEAlgorithm unsupported, Collection<JWEAlgorithm> supported) Returns a message that the specified JWE algorithm is not supported.Constructor parameters in com.nimbusds.jose.crypto.impl with type arguments of type JWEAlgorithmModifierConstructorDescriptionBaseJWEProvider(Set<JWEAlgorithm> algs, Set<EncryptionMethod> encs) Creates a new base JWE provider.BaseJWEProvider(Set<JWEAlgorithm> algs, Set<EncryptionMethod> encs, SecretKey cek) Creates a new base JWE provider. -
Uses of JWEAlgorithm in com.nimbusds.jose.jca
Methods in com.nimbusds.jose.jca with parameters of type JWEAlgorithmModifier and TypeMethodDescriptionstatic booleanJCASupport.isSupported(JWEAlgorithm alg) Checks if the specified JWE algorithm is supported by the default system JCA provider(s).static booleanJCASupport.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 JWEAlgorithmModifier and TypeMethodDescriptionJWEDecryptionKeySelector.getExpectedJWEAlgorithm()Returns the expected JWE algorithm.Constructors in com.nimbusds.jose.proc with parameters of type JWEAlgorithmModifierConstructorDescriptionJWEDecryptionKeySelector(JWEAlgorithm jweAlg, EncryptionMethod jweEnc, JWKSource<C> jwkSource) Creates a new decryption key selector.