Checks that the given date is within the certificate's
validity period. In other words, this determines whether the
certificate would be valid at the given date/time.
@param date the Date to check against to see if this certificate
is valid at that date/time.
@exception CertificateExpiredException if the certificate has expired
with respect to the {@code date} supplied.
@exception CertificateNotYetValidException if the certificate is not
yet valid with respect to the {@code date} supplied.
Checks that the given date is within the certificate's validity period. In other words, this determines whether the certificate would be valid at the given date/time.
@param date the Date to check against to see if this certificate is valid at that date/time.
@exception CertificateExpiredException if the certificate has expired with respect to the {@code date} supplied. @exception CertificateNotYetValidException if the certificate is not yet valid with respect to the {@code date} supplied.
@see #checkValidity()