Class 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 Detail

      • JweDecryptionException

        public JweDecryptionException()
        Constructs a new JweDecryptionException.