AES and AES GCM key wrap decrypter of
com.nimbusds.jose.JWEObject. Expects an AES key.
Unwraps the encrypted Content Encryption Key (CEK) with the specified AES
key, and then uses the CEK along with the IV and authentication tag to
decrypt the cipher text. See RFC 7518, sections
4.4 and
4.7 for more
information.
This class is thread-safe.
Supports the following key management algorithms:
-
com.nimbusds.jose.JWEAlgorithm#A128KW
-
com.nimbusds.jose.JWEAlgorithm#A192KW
-
com.nimbusds.jose.JWEAlgorithm#A256KW
-
com.nimbusds.jose.JWEAlgorithm#A128GCMKW
-
com.nimbusds.jose.JWEAlgorithm#A192GCMKW
-
com.nimbusds.jose.JWEAlgorithm#A256GCMKW
Supports the following content encryption algorithms:
-
com.nimbusds.jose.EncryptionMethod#A128CBC_HS256
-
com.nimbusds.jose.EncryptionMethod#A192CBC_HS384
-
com.nimbusds.jose.EncryptionMethod#A256CBC_HS512
-
com.nimbusds.jose.EncryptionMethod#A128GCM
-
com.nimbusds.jose.EncryptionMethod#A192GCM
-
com.nimbusds.jose.EncryptionMethod#A256GCM
-
com.nimbusds.jose.EncryptionMethod#A128CBC_HS256_DEPRECATED
-
com.nimbusds.jose.EncryptionMethod#A256CBC_HS512_DEPRECATED