recip1.setPermission(accessPermission);
recip2.setPermission(accessPermission2);
InputStream inStream = new FileInputStream(publicCert1);
Assert.assertNotNull(cf);
X509Certificate certificate1 = (X509Certificate)cf.generateCertificate(inStream);
inStream.close();
InputStream inStream2 = new FileInputStream(publicCert2);
Assert.assertNotNull(cf);
X509Certificate certificate2 = (X509Certificate)cf.generateCertificate(inStream2);