AEADBadTagException | API reference | Android Developers (original) (raw)
open class AEADBadTagException : BadPaddingException
kotlin.Any | ||||
---|---|---|---|---|
↳ | kotlin.Throwable | |||
↳ | java.lang.Exception | |||
↳ | java.security.GeneralSecurityException | |||
↳ | javax.crypto.BadPaddingException | |||
↳ |
This 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.
Summary
Public constructors |
---|
AEADBadTagException() Constructs a AEADBadTagException with no detail message. |
AEADBadTagException(msg: String!) 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.