Package com.nimbusds.jose.crypto.opts
Class CipherMode
java.lang.Object
com.nimbusds.jose.crypto.opts.CipherMode
- All Implemented Interfaces:
JWEDecrypterOption
,JWEEncrypterOption
,Option
@Immutable
public final class CipherMode
extends Object
implements JWEEncrypterOption, JWEDecrypterOption
JCA cipher mode.
- Version:
- 2025-07-19
- Author:
- Vladimir Dzhuvinov
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the cipher mode for a JWE decrypter.int
Returns the cipher mode for a JWE encrypter.toString()
-
Field Details
-
WRAP_UNWRAP
Cipher.UNWRAP_MODE
/Cipher.UNWRAP_MODE
. The default forJWEAlgorithm.RSA_OAEP
,JWEAlgorithm.RSA_OAEP_256
andJWEAlgorithm.RSA_OAEP_512
. -
ENCRYPT_DECRYPT
-
-
Method Details