code: public static RevocationStatus check(X509Certificate cert,
                                           X509Certificate issuerCert,
                                           URI responderURI,
                                           X509Certificate responderCert,
                                           Date date)
          throws IOException, CertPathValidatorException
      {
          return check(cert, issuerCert, responderURI, responderCert, date,
                       Collections.<Extension>emptyList());
      }
docs: Obtains the revocation status of a certificate using OCSP.
  
  @param cert the certificate to be checked
  @param issuerCert the issuer certificate
  @param responderURI the URI of the OCSP responder
  @param responderCert the OCSP responder's certificate
  @param date the time the validity of the OCSP responder's certificate
  should be checked against. If null, the current time is used.
  @return the RevocationStatus
  @throws IOException if there is an exception connecting to or
  communicating with the OCSP responder
  @throws CertPathValidatorException if an exception occurs while
  encoding the OCSP Request or validating the OCSP Response