code: @Override
      public void check(Certificate cert, Collection<String> unresolvedCritExts)
              throws CertPathValidatorException {
          RevocationStatus status;
          try {
              status = verifier.checkRevocationStatus((X509Certificate) cert, nextIssuer());
              if (LOG.isInfoEnabled()) {
                  LOG.info("Certificate status is: {}", status.getMessage());
          }
              if (status != RevocationStatus.GOOD) {
                  throw new CertPathValidatorException("Revocation Status is Not Good");
              }
          } catch (CertificateVerificationException e) {
              throw new CertPathValidatorException(e);
          }
      }
docs: Used by CertPathValidator to pass the certificates one by one from the certificate chain.
  
  @param cert the certificate passed to be checked.
  @param unresolvedCritExts not used in this method.
  @throws CertPathValidatorException if any error occurs while verifying the status given by CA.