Uses of Class
com.nimbusds.jose.EncryptionMethod
-
Packages that use EncryptionMethod 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 EncryptionMethod in com.nimbusds.jose
Fields in com.nimbusds.jose declared as EncryptionMethod Modifier and Type Field Description static EncryptionMethodEncryptionMethod. A128CBC_HS256AES_128_CBC_HMAC_SHA_256 authenticated encryption using a 256 bit key (required).static EncryptionMethodEncryptionMethod. A128CBC_HS256_DEPRECATEDAES_128_CBC_HMAC_SHA_256 authenticated encryption using a 256 bit key, deprecated in JOSE draft suite version 09.static EncryptionMethodEncryptionMethod. A128GCMAES in Galois/Counter Mode (GCM) (NIST.800-38D) using a 128 bit key (recommended).static EncryptionMethodEncryptionMethod. A192CBC_HS384AES_192_CBC_HMAC_SHA_384 authenticated encryption using a 384 bit key (optional).static EncryptionMethodEncryptionMethod. A192GCMAES in Galois/Counter Mode (GCM) (NIST.800-38D) using a 192 bit key (optional).static EncryptionMethodEncryptionMethod. A256CBC_HS512AES_256_CBC_HMAC_SHA_512 authenticated encryption using a 512 bit key (required).static EncryptionMethodEncryptionMethod. A256CBC_HS512_DEPRECATEDAES_256_CBC_HMAC_SHA_512 authenticated encryption using a 512 bit key, deprecated in JOSE draft suite version 09.static EncryptionMethodEncryptionMethod. A256GCMAES in Galois/Counter Mode (GCM) (NIST.800-38D) using a 256 bit key (recommended).static EncryptionMethodEncryptionMethod. XC20PXChaCha: eXtended-nonce ChaCha and AEAD_XChaCha20_Poly1305 (optional)Methods in com.nimbusds.jose that return EncryptionMethod Modifier and Type Method Description EncryptionMethodJWEHeader. getEncryptionMethod()Gets the encryption method (enc) parameter.static EncryptionMethodEncryptionMethod. parse(String s)Parses an encryption method from the specified string.Methods in com.nimbusds.jose that return types with arguments of type EncryptionMethod Modifier and Type Method Description Set<EncryptionMethod>JWEProvider. supportedEncryptionMethods()Returns the names of the supported encryption methods by the JWE provier.Constructors in com.nimbusds.jose with parameters of type EncryptionMethod Constructor Description Builder(EncryptionMethod enc)Creates a new JWE header builder.Builder(JWEAlgorithm alg, EncryptionMethod enc)Creates a new JWE header builder.Family(EncryptionMethod... encs)Creates a new encryption method family.JWEHeader(Algorithm alg, EncryptionMethod enc, JOSEObjectType typ, String cty, Set<String> crit, URI jku, JWK jwk, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, String kid, JWK epk, CompressionAlgorithm zip, Base64URL apu, Base64URL apv, Base64URL p2s, int p2c, Base64URL iv, Base64URL tag, String skid, Map<String,Object> customParams, Base64URL parsedBase64URL)Creates a new JSON Web Encryption (JWE) header.JWEHeader(EncryptionMethod enc)Creates a new minimal JSON Web Encryption (JWE) header.JWEHeader(JWEAlgorithm alg, EncryptionMethod enc)Creates a new minimal JSON Web Encryption (JWE) header. -
Uses of EncryptionMethod in com.nimbusds.jose.crypto.factories
Fields in com.nimbusds.jose.crypto.factories with type parameters of type EncryptionMethod Modifier and Type Field Description static Set<EncryptionMethod>DefaultJWEDecrypterFactory. SUPPORTED_ENCRYPTION_METHODSThe supported encryption methods.Methods in com.nimbusds.jose.crypto.factories that return types with arguments of type EncryptionMethod Modifier and Type Method Description Set<EncryptionMethod>DefaultJWEDecrypterFactory. supportedEncryptionMethods() -
Uses of EncryptionMethod in com.nimbusds.jose.crypto.impl
Fields in com.nimbusds.jose.crypto.impl with type parameters of type EncryptionMethod Modifier and Type Field Description static Map<Integer,Set<EncryptionMethod>>ContentCryptoProvider. COMPATIBLE_ENCRYPTION_METHODSThe encryption methods compatible with each key size in bits.static Set<EncryptionMethod>AESCryptoProvider. SUPPORTED_ENCRYPTION_METHODSThe supported encryption methods by the AES crypto provider class.static Set<EncryptionMethod>ContentCryptoProvider. SUPPORTED_ENCRYPTION_METHODSThe supported encryption methods.static Set<EncryptionMethod>DirectCryptoProvider. SUPPORTED_ENCRYPTION_METHODSThe supported encryption methods by the direct crypto provider class.static Set<EncryptionMethod>ECDH1PUCryptoProvider. SUPPORTED_ENCRYPTION_METHODSThe supported encryption methods by the ECDH crypto provider class.static Set<EncryptionMethod>ECDHCryptoProvider. SUPPORTED_ENCRYPTION_METHODSThe supported encryption methods by the ECDH crypto provider class.static Set<EncryptionMethod>MultiCryptoProvider. SUPPORTED_ENCRYPTION_METHODSThe supported encryption methods by the direct crypto provider class.static Set<EncryptionMethod>PasswordBasedCryptoProvider. SUPPORTED_ENCRYPTION_METHODSThe supported encryption methods by the password-base crypto provider class.static Set<EncryptionMethod>RSACryptoProvider. SUPPORTED_ENCRYPTION_METHODSThe supported encryption methods by the RSA crypto provider class.Methods in com.nimbusds.jose.crypto.impl with parameters of type EncryptionMethod Modifier and Type Method Description static SecretKeyContentCryptoProvider. generateCEK(EncryptionMethod enc, SecureRandom randomGen)Generates a Content Encryption Key (CEK) for the specified JOSE encryption method.static SecretKeyLegacyConcatKDF. generateCEK(SecretKey key, EncryptionMethod enc, byte[] epu, byte[] epv)Generates a Content Encryption Key (CEK) from the specified Content Master Key (CMK) and JOSE encryption method.static SecretKeyLegacyConcatKDF. generateCIK(SecretKey key, EncryptionMethod enc, byte[] epu, byte[] epv)Generates a Content Integrity Key (CIK) from the specified Content Master Key (CMK) and JOSE encryption method.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. unsupportedEncryptionMethod(EncryptionMethod unsupported, Collection<EncryptionMethod> supported)Returns a message that the specified JWE encryption method is not supported.Method parameters in com.nimbusds.jose.crypto.impl with type arguments of type EncryptionMethod Modifier and Type Method Description static StringAlgorithmSupportMessage. unsupportedEncryptionMethod(EncryptionMethod unsupported, Collection<EncryptionMethod> supported)Returns a message that the specified JWE encryption method is not supported. -
Uses of EncryptionMethod in com.nimbusds.jose.jca
Methods in com.nimbusds.jose.jca with parameters of type EncryptionMethod Modifier and Type Method Description static booleanJCASupport. isSupported(EncryptionMethod enc)Checks if the specified JWE encryption method is supported by the default system JCA provider(s).static booleanJCASupport. isSupported(EncryptionMethod enc, Provider provider)Checks if a JWE encryption method is supported by the specified JCA provider. -
Uses of EncryptionMethod in com.nimbusds.jose.proc
Methods in com.nimbusds.jose.proc that return EncryptionMethod Modifier and Type Method Description EncryptionMethodJWEDecryptionKeySelector. getExpectedJWEEncryptionMethod()The expected JWE encryption method.Methods in com.nimbusds.jose.proc that return types with arguments of type EncryptionMethod Modifier and Type Method Description Set<EncryptionMethod>JOSEMatcher. getEncryptionMethods()Returns the JOSE encryption methods to match.Methods in com.nimbusds.jose.proc with parameters of type EncryptionMethod Modifier and Type Method Description JOSEMatcher.BuilderJOSEMatcher.Builder. encryptionMethod(EncryptionMethod enc)Sets a single JOSE encryption method to match.JOSEMatcher.BuilderJOSEMatcher.Builder. encryptionMethods(EncryptionMethod... encs)Sets multiple JOSE encryption methods to match.Method parameters in com.nimbusds.jose.proc with type arguments of type EncryptionMethod Modifier and Type Method Description JOSEMatcher.BuilderJOSEMatcher.Builder. encryptionMethods(Set<EncryptionMethod> encs)Sets multiple JOSE encryption methods to match.Constructors in com.nimbusds.jose.proc with parameters of type EncryptionMethod Constructor Description JWEDecryptionKeySelector(JWEAlgorithm jweAlg, EncryptionMethod jweEnc, JWKSource<C> jwkSource)Creates a new decryption key selector.
-