code: private static Collection<X509CRL> getMatchingCRLs
          (X509CRL crl, CRLSelector selector) {
          if (selector == null || (crl != null && selector.match(crl))) {
              return Collections.singletonList(crl);
          } else {
              return Collections.emptyList();
          }
      }
docs: Checks if the specified X509CRL matches the criteria specified in the
  CRLSelector.