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

open class CertificateNotYetValidException : CertificateException

kotlin.Any
kotlin.Throwable
java.lang.Exception
javax.security.cert.CertificateException

Certificate is not yet valid exception. This is thrown whenever the current Date or the specified Date is before the notBefore date/time in the Certificate validity period.

Note: The classes in the package javax.security.cert exist for compatibility with earlier versions of the Java Secure Sockets Extension (JSSE). New applications should instead use the standard Java SE certificate classes located in java.security.cert.

Summary

Public constructors
CertificateNotYetValidException() Constructs a CertificateNotYetValidException with no detail message.
CertificateNotYetValidException(message: String!) Constructs a CertificateNotYetValidException with the specified detail message.

Public constructors

CertificateNotYetValidException

CertificateNotYetValidException()

Constructs a CertificateNotYetValidException with no detail message. A detail message is a String that describes this particular exception.

CertificateNotYetValidException

CertificateNotYetValidException(message: String!)

Constructs a CertificateNotYetValidException with the specified detail message. A detail message is a String that describes this particular exception.

Parameters
message String!: the detail message.

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.