// DER encoded crt generation testing
ByteArrayInputStream bais =
new ByteArrayInputStream(
CertFactoryTestData.getCRLEncoding());
assertEquals("The size of collection is not correct", 2, certFactory
.engineGenerateCRLs(bais).size());
// Base64 testing
bais = new ByteArrayInputStream(CertFactoryTestData
.getBase64CRLEncoding());