KeyNotYetValidException  |  API reference  |  Android Developers (original) (raw)


open class KeyNotYetValidException : InvalidKeyException

kotlin.Any
kotlin.Throwable
java.lang.Exception
java.security.GeneralSecurityException
java.security.KeyException
java.security.InvalidKeyException

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(message: String!) Constructs a new KeyNotYetValidException with the provided detail message and no cause.
KeyNotYetValidException(message: String!, cause: Throwable!) Constructs a new KeyNotYetValidException with the provided detail message and cause.

Public constructors

KeyNotYetValidException

KeyNotYetValidException()

Constructs a new KeyNotYetValidException without detail message and cause.

KeyNotYetValidException

KeyNotYetValidException(message: String!)

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

KeyNotYetValidException

KeyNotYetValidException(
    message: String!,
    cause: Throwable!)

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

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2025-02-10 UTC.