public static X509CRL loadCRL(final InputStream inputStream){
  try {
    final X509CRL crl=(X509CRL)certificateFactory.generateCRL(inputStream);
    return crl;
  }
 catch (  CRLException e) {
    throw new DSSException(e);
  }
}

public static X509CRL loadCRL ( final InputStream inputStream ) { try { final X509CRL crl = ( X509CRL ) certificateFactory . generateCRL ( inputStream ) ; return crl ; } catch ( CRLException e ) { throw new DSSException ( e ) ; } }
this method loads a crl from the given location .
