code: private static X509CRL getCRL(URIName name) throws CertStoreException {
          URI uri = name.getURI();
          if (debug != null) {
              debug.println("Trying to fetch CRL from DP " + uri);
          }
          CertStore ucs = null;
          try {
              ucs = URICertStore.getInstance
                  (new URICertStore.URICertStoreParameters(uri));
          } catch (InvalidAlgorithmParameterException |
                   NoSuchAlgorithmException e) {
              if (debug != null) {
                  debug.println("Can't create URICertStore: " + e.getMessage());
              }
              return null;
          }
  
          Collection<? extends CRL> crls = ucs.getCRLs(null);
          if (crls.isEmpty()) {
              return null;
          } else {
              return (X509CRL) crls.iterator().next();
          }
      }
docs: Download CRL from given URI.