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.cryptopackage.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 JWEAlgorithmJWEAlgorithm. A128GCMKWAES in Galois/Counter Mode (GCM) (NIST.800-38D) 128 bit keys.static JWEAlgorithmJWEAlgorithm. A128KWAdvanced Encryption Standard (AES) Key Wrap Algorithm (RFC 3394) using 128 bit keys.static JWEAlgorithmJWEAlgorithm. A192GCMKWAES in Galois/Counter Mode (GCM) (NIST.800-38D) 192 bit keys.static JWEAlgorithmJWEAlgorithm. A192KWAdvanced Encryption Standard (AES) Key Wrap Algorithm (RFC 3394) using 192 bit keys.static JWEAlgorithmJWEAlgorithm. A256GCMKWAES in Galois/Counter Mode (GCM) (NIST.800-38D) 256 bit keys.static JWEAlgorithmJWEAlgorithm. A256KWAdvanced Encryption Standard (AES) Key Wrap Algorithm (RFC 3394) using 256 bit keys.static 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 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 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 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 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 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 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 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 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 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 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 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 JWEAlgorithmJWEAlgorithm. RSA_OAEPDeprecated.static 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 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 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 JWEAlgorithmJWEAlgorithm. RSA1_5Deprecated.Methods in com.nimbusds.jose that return JWEAlgorithm Modifier and Type Method Description JWEAlgorithmJWEHeader. getAlgorithm()Gets the algorithm (alg) parameter.static JWEAlgorithmJWEAlgorithm. 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_ALGORITHMSThe 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_ALGORITHMSThe JWE algorithms compatible with each key size in bits.static Set<JWEAlgorithm>AESCryptoProvider. SUPPORTED_ALGORITHMSThe supported JWE algorithms by the AES crypto provider class.static Set<JWEAlgorithm>DirectCryptoProvider. SUPPORTED_ALGORITHMSThe supported JWE algorithms by the direct crypto provider class.static Set<JWEAlgorithm>ECDH1PUCryptoProvider. SUPPORTED_ALGORITHMSThe supported JWE algorithms by the ECDH crypto provider class.static Set<JWEAlgorithm>ECDHCryptoProvider. SUPPORTED_ALGORITHMSThe supported JWE algorithms by the ECDH crypto provider class.static Set<JWEAlgorithm>PasswordBasedCryptoProvider. SUPPORTED_ALGORITHMSThe supported JWE algorithms by the password-based crypto provider class.static Set<JWEAlgorithm>RSACryptoProvider. SUPPORTED_ALGORITHMSThe 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 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 JWEAlgorithm Modifier and Type Method Description static StringAlgorithmSupportMessage. 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 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 JWEAlgorithm Modifier and Type Method Description JWEAlgorithmJWEDecryptionKeySelector. 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.
-