Android APIs
public class

AEADBadTagException

extends BadPaddingException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.security.GeneralSecurityException
         ↳ javax.crypto.BadPaddingException
           ↳ javax.crypto.AEADBadTagException

Class Overview

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.

Summary

Public Constructors
AEADBadTagException()
Constructs an instance of AEADBadTagException.
AEADBadTagException(String message)
Constructs an instance of AEADBadTagException with the given message.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public AEADBadTagException ()

Added in API level 19

Constructs an instance of AEADBadTagException.

public AEADBadTagException (String message)

Added in API level 19

Constructs an instance of AEADBadTagException with the given message.