java.lang.Object
java.lang.Throwable
java.lang.Exception
java.security.GeneralSecurityException
javax.crypto.BadPaddingException
javax.crypto.AEADBadTagException
- All Implemented Interfaces:
Serializable
This exception is thrown when a
Cipher
operating in
an AEAD mode (such as GCM/CCM) is unable to verify the supplied
authentication tag.- Since:
- 1.7
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs anAEADBadTagException
with no detail message.Constructs anAEADBadTagException
with the specified detail message. -
Method Summary
Methods declared in class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AEADBadTagException
public AEADBadTagException()Constructs anAEADBadTagException
with no detail message. -
AEADBadTagException
Constructs anAEADBadTagException
with the specified detail message.- Parameters:
msg
- the detail message.
-