KeyExpiredException  |  API reference  |  Android Developers (original) (raw)


open class KeyExpiredException : InvalidKeyException

kotlin.Any
kotlin.Throwable
java.lang.Exception
java.security.GeneralSecurityException
java.security.KeyException
java.security.InvalidKeyException

Indicates that a cryptographic operation failed because the employed key's validity end date is in the past.

Summary

Public constructors
KeyExpiredException() Constructs a new KeyExpiredException without detail message and cause.
KeyExpiredException(message: String!) Constructs a new KeyExpiredException with the provided detail message and no cause.
KeyExpiredException(message: String!, cause: Throwable!) Constructs a new KeyExpiredException with the provided detail message and cause.

Public constructors

KeyExpiredException

KeyExpiredException()

Constructs a new KeyExpiredException without detail message and cause.

KeyExpiredException

KeyExpiredException(message: String!)

Constructs a new KeyExpiredException with the provided detail message and no cause.

KeyExpiredException

KeyExpiredException(
    message: String!,
    cause: Throwable!)

Constructs a new KeyExpiredException with the provided detail message and cause.

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.