Package com.nimbusds.jose.crypto.opts
Class MaxDecompressedPlainTextLength
java.lang.Object
com.nimbusds.jose.crypto.opts.MaxDecompressedPlainTextLength
- All Implemented Interfaces:
JWEDecrypterOption,Option
@Immutable
public final class MaxDecompressedPlainTextLength
extends Object
implements JWEDecrypterOption
JSON Web Encryption (JWE) decrypter option to configure the maximum allowed
length of decompressed plain text. The
default
is 1 million characters.- Version:
- 2026-09-16.
- Author:
- Vladimir Dzhuvinov
-
Constructor Summary
ConstructorsConstructorDescriptionMaxDecompressedPlainTextLength(int maxLength) Creates a new maximum decompressed plain text length option. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the maximum allowed decompressed plain text length.toString()
-
Constructor Details
-
MaxDecompressedPlainTextLength
Creates a new maximum decompressed plain text length option.- Parameters:
maxLength- The maximum allowed length, in characters. Must be positive
-
-
Method Details