question: public void checkValidity ( Date date ) throws CertificateExpiredException , CertificateNotYetValidException { try { wrappedCert . checkValidity ( date ) ; } catch ( java . security . cert . CertificateNotYetValidException e ) { throw new CertificateNotYetValidException ( e . getMessage ( ) ) ; } catch ( java . security . cert . CertificateExpiredException e ) { throw new CertificateExpiredException ( e . getMessage ( ) ) ; } }
target:  Checks that the specified date is within the certificate's validity period, or basically if the certificate would be valid at the specified date/time.