public List<VerificationOK> verify(X509Certificate signCert,X509Certificate issuerCert,Date signDate) throws GeneralSecurityException, IOException {
  RootStoreVerifier rootStoreVerifier=new RootStoreVerifier(verifier);
  rootStoreVerifier.setRootStore(rootStore);
  CRLVerifier crlVerifier=new CRLVerifier(rootStoreVerifier,getCRLsFromDSS());
  crlVerifier.setRootStore(rootStore);
  crlVerifier.setOnlineCheckingAllowed(latestRevision || onlineCheckingAllowed);
  OCSPVerifier ocspVerifier=new OCSPVerifier(crlVerifier,getOCSPResponsesFromDSS());
  ocspVerifier.setRootStore(rootStore);
  ocspVerifier.setOnlineCheckingAllowed(latestRevision || onlineCheckingAllowed);
  return ocspVerifier.verify(signCert,issuerCert,signDate);
}

public List < VerificationOK > verify ( X509Certificate signCert , X509Certificate issuerCert , Date signDate ) throws GeneralSecurityException , IOException { RootStoreVerifier rootStoreVerifier = new RootStoreVerifier ( verifier ) ; rootStoreVerifier . setRootStore ( rootStore ) ; CRLVerifier crlVerifier = new CRLVerifier ( rootStoreVerifier , getCRLsFromDSS ( ) ) ; crlVerifier . setRootStore ( rootStore ) ; crlVerifier . setOnlineCheckingAllowed ( latestRevision || onlineCheckingAllowed ) ; OCSPVerifier ocspVerifier = new OCSPVerifier ( crlVerifier , getOCSPResponsesFromDSS ( ) ) ; ocspVerifier . setRootStore ( rootStore ) ; ocspVerifier . setOnlineCheckingAllowed ( latestRevision || onlineCheckingAllowed ) ; return ocspVerifier . verify ( signCert , issuerCert , signDate ) ; }
verifies certificates against a list of crls and ocsp responses .
