if (sCrlDataObjectCount != sCrlData.getCertificates().size())
if (sCrlDataObjectCount != sCrlData.getCRLs().size())
    public CRL engineGenerateCRL(        InputStream inStream)         throws CRLException    {        if (currentCrlStream == null)        {            currentCrlStream = inStream;            sCrlData = null;            sCrlDataObjectCount = 0;        }        else if (currentCrlStream != inStream) // reset if input stream has changed        {            currentCrlStream = inStream;            sCrlData = null;            sCrlDataObjectCount = 0;        }        try        {            if (sCrlData != null)            {                if (sCrlDataObjectCount != sCrlData.getCertificates().size())                {                    return new X509CRLObject(                                CertificateList.getInstance(                                        sCrlData.getCRLs().getObjectAt(sCrlDataObjectCount++)));                }                else                {                    sCrlData = null;                    sCrlDataObjectCount = 0;                    return null;                }            }                        if (!inStream.markSupported())            {                inStream = new BufferedInputStream(inStream);            }                        inStream.mark(10);            if (inStream.read() != 0x30)  // assume ascii PEM encoded.            {                inStream.reset();                return readPEMCRL(inStream);            }            else if (inStream.read() == 0x80)    // assume BER encoded.            {                inStream.reset();                return readPKCS7CRL(inStream);            }            else            {                inStream.reset();                return readDERCRL(new ASN1InputStream(inStream, ProviderUtil.getReadLimit(inStream)));            }        }        catch (CRLException e)        {            throw e;        }        catch (Exception e)        {            throw new CRLException(e.toString());        }    }