# Uses of Class
javax.security.cert.CertificateNotYetValidException

Packages that use CertificateNotYetValidException
Package | Description
--- | ---
javax.security.cert | Provides classes for public key certificates.

## Uses of CertificateNotYetValidException in javax.security.cert

Methods in javax.security.cert that throw CertificateNotYetValidException
Modifier and Type | Method | Description
--- | --- | ---
`abstract void` | X509Certificate.`checkValidity()` | Deprecated, for removal: This API element is subject to removal in a future version. Checks that the certificate is currently valid.
`abstract void` | X509Certificate.`checkValidity​(Date date)` | Deprecated, for removal: This API element is subject to removal in a future version. Checks that the specified date is within the certificate's validity period.