Added in API level 23

KeyNotYetValidException


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


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.

Inherited methods

Public constructors

KeyNotYetValidException

Added in API level 23
public KeyNotYetValidException ()

Constructs a new KeyNotYetValidException without detail message and cause.

KeyNotYetValidException

Added in API level 23
public KeyNotYetValidException (String message)

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

Parameters
message String

KeyNotYetValidException

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

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

Parameters
message String

cause Throwable