Stay organized with collections
Save and categorize content based on your preferences.
AEADBadTagException
open class AEADBadTagException : BadPaddingException
This exception is thrown when a Cipher
operating in an AEAD mode (such as GCM/CCM) is unable to verify the supplied authentication tag.
Summary
Public constructors |
Constructs a AEADBadTagException with no detail message.
|
Constructs a AEADBadTagException with the specified detail message.
|
Public constructors
AEADBadTagException
AEADBadTagException()
Constructs a AEADBadTagException with no detail message.
AEADBadTagException
AEADBadTagException(msg: String!)
Constructs a AEADBadTagException with the specified detail message.
Parameters |
msg |
String!: the detail message. |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# AEADBadTagException\n\nAdded in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nAEADBadTagException\n===================\n\n```\nopen class AEADBadTagException : BadPaddingException\n```\n\n|---|---|---|---|---|---------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||||||\n| ↳ | [kotlin.Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html) |||||\n| | ↳ | [java.lang.Exception](../../java/lang/Exception.html#) ||||\n| | | ↳ | [java.security.GeneralSecurityException](../../java/security/GeneralSecurityException.html#) |||\n| | | | ↳ | [javax.crypto.BadPaddingException](/reference/kotlin/javax/crypto/BadPaddingException) ||\n| | | | | ↳ | [javax.crypto.AEADBadTagException](#) |\n\nThis exception is thrown when a [Cipher](/reference/kotlin/javax/crypto/Cipher) operating in an AEAD mode (such as GCM/CCM) is unable to verify the supplied authentication tag.\n\nSummary\n-------\n\n| Public constructors ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [AEADBadTagException](#AEADBadTagException())`()` Constructs a AEADBadTagException with no detail message. |\n| [AEADBadTagException](#AEADBadTagException(kotlin.String))`(`msg:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` Constructs a AEADBadTagException with the specified detail message. |\n\nPublic constructors\n-------------------\n\n### AEADBadTagException\n\nAdded in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nAEADBadTagException()\n```\n\nConstructs a AEADBadTagException with no detail message. \n\n### AEADBadTagException\n\nAdded in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nAEADBadTagException(msg: String!)\n```\n\nConstructs a AEADBadTagException with the specified detail message.\n\n| Parameters ||\n|-------|--------------------------------------------------------------------------------------------------------|\n| `msg` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: the detail message. |"]]