String[] key1 = generateCSR("/CN=testmail@example.com");
Certificate c = new Certificate(1, "/CN=testmail@example.com", "sha256", key1[1]);
final PrivateKey pk = PemKey.parsePEMPrivateKey(key1[0]);
String[] key1 = generateCSR("/CN=testmail@example.com");
Certificate c = new Certificate(1, "/CN=testmail@example.com", "sha256", key1[1]);
final PrivateKey pk = PemKey.parsePEMPrivateKey(key1[0]);