Added in API level 23

KeyExpiredException


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


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.

Inherited methods

Public constructors

KeyExpiredException

Added in API level 23
public KeyExpiredException ()

Constructs a new KeyExpiredException without detail message and cause.

KeyExpiredException

Added in API level 23
public KeyExpiredException (String message)

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

Parameters
message String

KeyExpiredException

Added in API level 23
public KeyExpiredException (String message, 
                Throwable cause)

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

Parameters
message String

cause Throwable