public Collection engineGenerateCRLs(InputStream inStream) throws CRLException {
  CRL crl;
  List crls=new ArrayList();
  while ((crl=engineGenerateCRL(inStream)) != null) {
    crls.add(crl);
  }
  return crls;
}

public Collection engineGenerateCRLs ( InputStream inStream ) throws CRLException { CRL crl ; List crls = new ArrayList ( ) ; while ( ( crl = engineGenerateCRL ( inStream ) ) != null ) { crls . add ( crl ) ; } return crls ; }
returns a ( possibly empty ) collection view of the crls read from the given input stream instream . the instream may contain a sequence of der - encoded crls , or a pkcs # 7 crl set . this is a pkcs # 7 signeddata object , with the only signficant field being crls . in particular the signature and the contents are ignored .
