Code example for CRLException

0
        { 
            throw e;
        } 
        catch (Exception e)
        { 
            throw new CRLException(e.toString());
        } 
    } 
 
    /** 
     * 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. 
     */ 
    public Collection engineGenerateCRLs(
        InputStream inStream)
        throws CRLException