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

open class CertificateExpiredException : CertificateException

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

Certificate Expired Exception. This is thrown whenever the current Date or the specified Date is after the notAfter date/time specified in the validity period of the certificate.

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
CertificateExpiredException() Constructs a CertificateExpiredException with no detail message.
CertificateExpiredException(message: String!) Constructs a CertificateExpiredException with the specified detail message.

Public constructors

CertificateExpiredException

CertificateExpiredException()

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

CertificateExpiredException

CertificateExpiredException(message: String!)

Constructs a CertificateExpiredException 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.