Package javax.crypto

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

    • AEADBadTagException

      public AEADBadTagException()
      Constructs an instance of AEADBadTagException.
    • AEADBadTagException

      public AEADBadTagException​(String message)
      Constructs an instance of AEADBadTagException with the given message.