Added in API level 23

KeyNotYetValidException

open class KeyNotYetValidException : InvalidKeyException
kotlin.Any
   ↳ kotlin.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

Constructs a new KeyNotYetValidException without detail message and cause.

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

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

Public constructors

KeyNotYetValidException

Added in API level 23
KeyNotYetValidException()

Constructs a new KeyNotYetValidException without detail message and cause.

KeyNotYetValidException

Added in API level 23
KeyNotYetValidException(message: String!)

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

KeyNotYetValidException

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

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