PdfArray crlArray = dictionary.getAsArray(PdfName.CRLS);
ArrayList<X509CRL> crls = new ArrayList<X509CRL>();
if (crlArray != null) {
for (int i = 0; i < crlArray.size(); i++) {
PRStream stream = (PRStream) crlArray.getAsStream(i);
X509CRL crl = (X509CRL) factory.generateCRL(new ByteArrayInputStream(PdfReader.getStreamBytes(stream)));
crls.add(crl);
}
}
if (ocsps.size() == 0 && crls.size() == 0) {
throw new NoRevocationStatusException(messages.getString(