Android APIs
public class

KeyNotYetValidException

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

Class Overview

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

Summary

Public Constructors
KeyNotYetValidException()
Constructs a new KeyNotYetValidException without detail message and cause.
KeyNotYetValidException(String message)
Constructs a new KeyNotYetValidException with the provided detail message and no cause.
KeyNotYetValidException(String message, Throwable cause)
Constructs a new KeyNotYetValidException with the provided detail message and cause.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public KeyNotYetValidException ()

Added in API level 23

Constructs a new KeyNotYetValidException without detail message and cause.

public KeyNotYetValidException (String message)

Added in API level 23

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

public KeyNotYetValidException (String message, Throwable cause)

Added in API level 23

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