Package javax.crypto
Class AEADBadTagException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.security.GeneralSecurityException
javax.crypto.BadPaddingException
javax.crypto.AEADBadTagException
- All Implemented Interfaces:
Serializable
public class AEADBadTagException extends BadPaddingException
Thrown by a
Cipher that is using an Authenticated Encryption with
Additional Data (AEAD) mode such as Galois/Counter Mode (GCM) and the tag
failed verification.- Since:
- 1.7
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description AEADBadTagException()Constructs an instance ofAEADBadTagException.AEADBadTagException(String message)Constructs an instance ofAEADBadTagExceptionwith the givenmessage. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AEADBadTagException
public AEADBadTagException()Constructs an instance ofAEADBadTagException. -
AEADBadTagException
Constructs an instance ofAEADBadTagExceptionwith the givenmessage.
-