ByteArrayInputStream bais;
for (int i=0; i<good.length; i++) {
bais = new ByteArrayInputStream(
(good[i][0] + pkcs7so + good[i][1]).getBytes("UTF-8"));
Collection crls = factory.generateCRLs(bais);
assertNotNull("Factory returned null on correct PKCS7 data", crls);
assertEquals("The size of collection differs from expected",
2, crls.size());
if (publicKey != null) {
// verify the signatures