public X509CRL[] getCRLs() throws CertificateException {
        if (this.trustrootData == null) {
            return null;
        }
        CertificateFactory localCertificateFactory = CertificateFactory
                .getInstance("X.509");
        ArrayList localArrayList = new ArrayList(this.trustrootData.length);
        for (int i = 0; i < this.trustrootData.length; i++) {
            String str = this.trustrootData[i];
            int j = str.indexOf("-----BEGIN X509 CRL-----");
            if (j >= 0) {
                str = str.substring(j);
                ByteArrayInputStream localByteArrayInputStream = new ByteArrayInputStream(
                        str.getBytes());
                try {
                    X509CRL localX509CRL = (X509CRL) localCertificateFactory
                            .generateCRL(localByteArrayInputStream);
                    localArrayList.add(localX509CRL);
                } catch (Exception localException) {
                    logger.warning(this.trustrootFilenames[i]
                            + " can not be parsed as an X509CRL.");
                }
            }
        }
        if (localArrayList.isEmpty()) {
            return null;
        }
        return (X509CRL[]) localArrayList.toArray(new X509CRL[0]);
    }