if (coll.isEmpty() || !coll.iterator().next().equals(xcert))
{
fail("certificate could not be picked from LDAP directory.");
}
X509CRLStoreSelector sl2 = new X509CRLStoreSelector();
X509CRL crl = (X509CRL)cf.generateCRL(new
ByteArrayInputStream(directCRL));
sl2.setIssuers(Collections.singleton(crl.getIssuerX500Principal()));
cs = X509Store.getInstance("CRL/LDAP", params1, "BC");
coll = cs.getMatches(sl2);
if (!coll.iterator().hasNext())