Code example for CRLException

0
        return null; 
    } 
 
    public CRL engineGenerateCRL(InputStream inStream) throws CRLException {
        if (!(inStream instanceof DataInputStream)) {
            throw new CRLException("Incorrect inputstream");
        } 
        return null; 
    } 
 
    @SuppressWarnings("unchecked") 
    public Collection engineGenerateCRLs(InputStream inStream)
            throws CRLException { 
        if (!(inStream instanceof DataInputStream)) {
            throw new CRLException("Incorrect inputstream");
        } 
        return null; 
    } 
 
    public CertPath engineGenerateCertPath(InputStream inStream)
            throws CertificateException {