jdk/src/share/classes/sun/security/provider/certpath/CrlRevocationChecker.java
changeset 9511 8f315e0a7b18
parent 9256 230442708954
child 10336 0bb1999251f8
equal deleted inserted replaced
9508:310b4f6c8e61 9511:8f315e0a7b18
   310             }
   310             }
   311             DistributionPointFetcher store =
   311             DistributionPointFetcher store =
   312                 DistributionPointFetcher.getInstance();
   312                 DistributionPointFetcher.getInstance();
   313             // all CRLs returned by the DP Fetcher have also been verified
   313             // all CRLs returned by the DP Fetcher have also been verified
   314             mApprovedCRLs.addAll(store.getCRLs(sel, signFlag, prevKey,
   314             mApprovedCRLs.addAll(store.getCRLs(sel, signFlag, prevKey,
   315                 mSigProvider, mStores, reasonsMask, trustAnchors));
   315                 mSigProvider, mStores, reasonsMask, trustAnchors,
       
   316                 mParams.getDate()));
   316         } catch (Exception e) {
   317         } catch (Exception e) {
   317             if (debug != null) {
   318             if (debug != null) {
   318                 debug.println("CrlRevocationChecker.verifyRevocationStatus() "
   319                 debug.println("CrlRevocationChecker.verifyRevocationStatus() "
   319                     + "unexpected exception: " + e.getMessage());
   320                     + "unexpected exception: " + e.getMessage());
   320             }
   321             }
   767                  t.hasNext() && !Arrays.equals(reasonsMask, ALL_REASONS); ) {
   768                  t.hasNext() && !Arrays.equals(reasonsMask, ALL_REASONS); ) {
   768                 DistributionPoint point = t.next();
   769                 DistributionPoint point = t.next();
   769                 for (X509CRL crl : crls) {
   770                 for (X509CRL crl : crls) {
   770                     if (dpf.verifyCRL(certImpl, point, crl, reasonsMask,
   771                     if (dpf.verifyCRL(certImpl, point, crl, reasonsMask,
   771                             signFlag, prevKey, mSigProvider,
   772                             signFlag, prevKey, mSigProvider,
   772                             trustAnchors, mStores)) {
   773                             trustAnchors, mStores, mParams.getDate())) {
   773                         results.add(crl);
   774                         results.add(crl);
   774                     }
   775                     }
   775                 }
   776                 }
   776             }
   777             }
   777             return results;
   778             return results;