Package com.nimbusds.jose.crypto.opts
Class MaxCompressedCipherTextLength
java.lang.Object
com.nimbusds.jose.crypto.opts.MaxCompressedCipherTextLength
- All Implemented Interfaces:
JWEDecrypterOption,Option
@Immutable
public final class MaxCompressedCipherTextLength
extends Object
implements JWEDecrypterOption
JSON Web Encryption (JWE) decrypter option to configure the maximum allowed
length of compressed cipher text. The
default
is 100 thousand characters.- Version:
- 2025-01-04
- Author:
- Vladimir Dzhuvinov
-
Constructor Summary
ConstructorsConstructorDescriptionMaxCompressedCipherTextLength(int maxLength) Creates a new maximum compressed cipher text length option. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the maximum allowed compressed cipher text length.toString()
-
Constructor Details
-
MaxCompressedCipherTextLength
Creates a new maximum compressed cipher text length option.- Parameters:
maxLength- The maximum allowed length, in characters. Must be positive.
-
-
Method Details