Class JweDecryptionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.forgerock.json.jose.exceptions.JwtRuntimeException
-
- org.forgerock.json.jose.exceptions.JweException
-
- org.forgerock.json.jose.exceptions.JweDecryptionException
-
- All Implemented Interfaces:
Serializable
public final class JweDecryptionException extends JweException
Represents an exception for when decryption of the JWE fails. This class deliberately provides no information about why decryption failed as such information leakage is a potential attack vector (e.g., padding oracle attacks). The root cause of exceptions should be logged before this exception is thrown.- Since:
- 2.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JweDecryptionException()
Constructs a new JweDecryptionException.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-