Android APIs
public class

KeyExpiredException

extends InvalidKeyException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.security.GeneralSecurityException
         ↳ java.security.KeyException
           ↳ java.security.InvalidKeyException
             ↳ android.security.keystore.KeyExpiredException

Class Overview

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(String message)
Constructs a new KeyExpiredException with the provided detail message and no cause.
KeyExpiredException(String message, Throwable cause)
Constructs a new KeyExpiredException with the provided detail message and cause.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public KeyExpiredException ()

Added in API level 23

Constructs a new KeyExpiredException without detail message and cause.

public KeyExpiredException (String message)

Added in API level 23

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

public KeyExpiredException (String message, Throwable cause)

Added in API level 23

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